%*
#endif
+/* Code executed at the beginning of each rule, after yytext and yyleng
+ * have been set up.
+ */
+#ifndef YY_USER_ACTION
+#define YY_USER_ACTION
+#endif
+
/* Code executed at the end of each rule. */
#ifndef YY_BREAK
#define YY_BREAK break;
YY_DO_BEFORE_ACTION;
-#ifdef YY_USER_ACTION
- if ( yy_act != YY_END_OF_BUFFER )
- {
- YY_USER_ACTION;
- }
-#endif
-
%% code for yylineno update goes here, if -l option
do_action: /* This label is used only to access EOF actions. */
}
}
+ /* 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 );
}