diff options
author | vern <vern> | 1993-12-05 17:07:59 +0000 |
---|---|---|
committer | vern <vern> | 1993-12-05 17:07:59 +0000 |
commit | 935bfcf502bdc9ccebf699855f6700d6493ff8db (patch) | |
tree | 8134a00569195f86bf784836fdbf4fd6cb9ec272 /nfa.c | |
parent | 0a7a7a206e75701f0d6ac1f5c68d1c411cd17d3b (diff) | |
download | flex-935bfcf502bdc9ccebf699855f6700d6493ff8db.tar.gz |
YY_USER_ACTION generated now for each case in action switch
Diffstat (limited to 'nfa.c')
-rw-r--r-- | nfa.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -26,7 +26,7 @@ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -/* $Header: /cvsroot/flex/flex/nfa.c,v 2.11 1993/09/21 20:42:09 vern Exp $ */ +/* $Header: /cvsroot/flex/flex/nfa.c,v 2.12 1993/12/05 17:08:15 vern Exp $ */ #include "flexdef.h" @@ -262,6 +262,12 @@ 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. + */ + add_action( "YY_USER_ACTION\n" ); + line_directive_out( (FILE *) 0 ); } |