aboutsummaryrefslogtreecommitdiff
path: root/src/quote_fmt_lex.l
diff options
context:
space:
mode:
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; }
%%