1 --- flex-2.5.31/flex.skl 2003-04-01 04:51:38.000000000 +0300
2 +++ flex/flex.skl 2003-10-24 21:47:10.000000000 +0300
4 %# Macros for runtime processing stage.
8 +%# Let user use our quoting strings
10 +m4_define( {m4_userquote_start}, {m4_changequote(<, >)[[m4_changequote([[, ]])})
11 +m4_define( {m4_userquote_end}, {m4_changequote(<, >)]]m4_changequote([[, ]])})
12 m4_changequote([[, ]])
15 --- flex-2.5.31/scan.l 2003-04-01 04:51:38.000000000 +0300
16 +++ flex/scan.l 2003-10-24 21:51:20.000000000 +0300
19 "*/" ACTION_ECHO; yy_pop_state();
21 - [^*\n]+ ACTION_ECHO;
22 - [^*\n]*{NL} ++linenum; ACTION_ECHO;
24 + [^*\[\]\n]+ ACTION_ECHO;
25 + [^*\[\]\n]*{NL} ++linenum; ACTION_ECHO;
26 + \[\[ add_action("[" "[]" "]m4_" "userquote_start()");
27 + \]\] add_action("[" "[]" "]m4_" "userquote_end()");
28 + /* Macros need to be clearly separated from surrounding
29 + * text and this file needs to go through flex untouched.