summaryrefslogtreecommitdiff
path: root/nfa.c
diff options
context:
space:
mode:
authorvern <vern>1993-12-05 17:07:59 +0000
committervern <vern>1993-12-05 17:07:59 +0000
commit935bfcf502bdc9ccebf699855f6700d6493ff8db (patch)
tree8134a00569195f86bf784836fdbf4fd6cb9ec272 /nfa.c
parent0a7a7a206e75701f0d6ac1f5c68d1c411cd17d3b (diff)
downloadflex-935bfcf502bdc9ccebf699855f6700d6493ff8db.tar.gz
YY_USER_ACTION generated now for each case in action switch
Diffstat (limited to 'nfa.c')
-rw-r--r--nfa.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/nfa.c b/nfa.c
index 0dc68d9..f2994e9 100644
--- a/nfa.c
+++ b/nfa.c
@@ -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 );
}