summaryrefslogtreecommitdiff
path: root/tests/test-include-by-buffer/scanner.l
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-include-by-buffer/scanner.l')
-rw-r--r--tests/test-include-by-buffer/scanner.l4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-include-by-buffer/scanner.l b/tests/test-include-by-buffer/scanner.l
index 3224543..3f48001 100644
--- a/tests/test-include-by-buffer/scanner.l
+++ b/tests/test-include-by-buffer/scanner.l
@@ -30,14 +30,14 @@
#include <stdlib.h>
#include "config.h"
%}
-
+%option header="scanner.h"
%option 8bit outfile="scanner.c" prefix="test"
%option nounput nomain noyywrap
%option warn
%x GET_FILENAME
%{
-
+#include "scanner.h"
#define MAX_INCLUDE_DEPTH 10
YY_BUFFER_STATE include_stack[MAX_INCLUDE_DEPTH];
int include_stack_ptr = 0;