From 513727f94c2fc326f97eb7b9bc05ee9e162205e9 Mon Sep 17 00:00:00 2001 From: Yuichi Nishiwaki Date: Fri, 28 Feb 2014 22:38:12 +0900 Subject: [PATCH] emit additional scanner header file --- .gitignore | 1 + src/scan.l | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index eb02a035..51f1d410 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ bin/* src/lex.yy.c +src/lex.yy.h src/y.tab.c src/y.tab.h lib/* diff --git a/src/scan.l b/src/scan.l index b7d4b456..b52256b8 100644 --- a/src/scan.l +++ b/src/scan.l @@ -30,6 +30,7 @@ %option noinput %option nounput %option extra-type="struct parser_control *" +%option header-file="lex.yy.h" %option never-interactive /* comment */