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.l5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/quote_fmt_lex.l b/src/quote_fmt_lex.l
index 578ea149..c330345e 100644
--- a/src/quote_fmt_lex.l
+++ b/src/quote_fmt_lex.l
@@ -1,6 +1,5 @@
%{
-#include "quote_fmt_lex.h"
-#include "quote_fmt_parse.h"
+#include "quote_fmt_parse.tab.h"
%}
%option prefix="quote_fmt"
@@ -40,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; }
%%