diff options
author | Vern Paxson <vern@ee.lbl.gov> | 1994-07-25 20:49:44 +0000 |
---|---|---|
committer | Vern Paxson <vern@ee.lbl.gov> | 1994-07-25 20:49:44 +0000 |
commit | f2938d67431dd108852261fe224541929d790b1b (patch) | |
tree | 4cac7e8c6ec6b34163161a2f4dc4cb3c712afb0a /nfa.c | |
parent | b4f8bff20410ede032016e615d7be92fd28f5aed (diff) |
No YY_USER_ACTION if continued action
Diffstat (limited to 'nfa.c')
-rw-r--r-- | nfa.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -264,9 +264,11 @@ int mach, variable_trail_rule, headcnt, trailcnt; /* Okay, in the action code at this point yytext and yyleng have * their proper final values for this rule, so here's the point - * to do any user action. + * to do any user action. But don't do it for continued actions, + * as that'll result in multiple YY_USER_ACTION's. */ - add_action( "YY_USER_ACTION\n" ); + if ( ! continued_action ) + add_action( "YY_USER_ACTION\n" ); line_directive_out( (FILE *) 0, 1 ); } |