aboutsummaryrefslogtreecommitdiff
path: root/src/quote_fmt_lex.l
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2019-05-16 15:17:53 +0200
committerThomas White <taw@physics.org>2019-05-16 15:17:53 +0200
commitcf040a18b3f5da827f959346a45a907d5dd6eb49 (patch)
tree23a0aaca091121013ee12a21e79031344daaaef6 /src/quote_fmt_lex.l
parent04a77910fa4adb5845cbcf751dd7c3522c191474 (diff)
parent12196f21e352b952cda3e837cf2467b75dd1e6e6 (diff)
Merge branch 'taw/meson' into taw/combined
Diffstat (limited to 'src/quote_fmt_lex.l')
-rw-r--r--src/quote_fmt_lex.l6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/quote_fmt_lex.l b/src/quote_fmt_lex.l
index 7f904c17..c330345e 100644
--- a/src/quote_fmt_lex.l
+++ b/src/quote_fmt_lex.l
@@ -1,10 +1,8 @@
%{
-#include "quote_fmt_lex.h"
-#include "quote_fmt_parse.h"
+#include "quote_fmt_parse.tab.h"
%}
%option prefix="quote_fmt"
-%option outfile="lex.yy.c"
%%
@@ -41,6 +39,6 @@
"?r" /* query references */ return QUERY_REFERENCES;
"{" return OPARENT;
"}" return CPARENT;
-. { yylval.chr = yytext[0]; return CHARACTER; }
+. { quote_fmtlval.chr = yytext[0]; return CHARACTER; }
%%