diff options
author | rlar <rlar> | 2016-02-28 14:17:36 +0100 |
---|---|---|
committer | Will Estes <westes575@gmail.com> | 2016-02-28 18:50:12 -0500 |
commit | 804efe8c42f692d0756b197e3cc013a09b329383 (patch) | |
tree | cdeab56ed2536529f65daf4d09015ec59b7d36af /to.do | |
parent | 80484ea2673393bf725ade8e72cda98983fa85cb (diff) |
fix name clash, OPT_OUTFILE from parse.y and from options.h
these collide:
OPT_OUTFILE OPT_PREFIX OPT_YYCLASS
rename them TOK_... in the parser
Diffstat (limited to 'to.do')
-rw-r--r-- | to.do/unicode/scan.l | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/to.do/unicode/scan.l b/to.do/unicode/scan.l index 8d372b9..cfb9ee4 100644 --- a/to.do/unicode/scan.l +++ b/to.do/unicode/scan.l @@ -273,9 +273,9 @@ LEXOPT [aceknopr] yy_scan_bytes ACTION_IFDEF("YY_NO_SCAN_BYTES", ! option_sense); yy_scan_string ACTION_IFDEF("YY_NO_SCAN_STRING", ! option_sense); - outfile return OPT_OUTFILE; - prefix return OPT_PREFIX; - yyclass return OPT_YYCLASS; + outfile return TOK_OUTFILE; + prefix return TOK_PREFIX; + yyclass return TOK_YYCLASS; \"[^"\n]*\" { strcpy( nmstr, yytext + 1 ); |