summaryrefslogtreecommitdiffstats
path: root/scripts/genksyms/lex.l
diff options
context:
space:
mode:
authorArnaud Lacombe <lacombar@gmail.com>2011-05-23 00:05:28 -0400
committerArnaud Lacombe <lacombar@gmail.com>2011-06-09 14:04:41 -0400
commit880f4499bb4f6883095965bdd3b9237d927e24d8 (patch)
tree19f8b015b84e3a0294edfe3373df67e79386199d /scripts/genksyms/lex.l
parent6b19e7e49e6d4ce123c16a6b069916045cab9fa0 (diff)
downloadop-kernel-dev-880f4499bb4f6883095965bdd3b9237d927e24d8.zip
op-kernel-dev-880f4499bb4f6883095965bdd3b9237d927e24d8.tar.gz
genksyms: migrate parser to implicit rules
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
Diffstat (limited to 'scripts/genksyms/lex.l')
-rw-r--r--scripts/genksyms/lex.l4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/genksyms/lex.l b/scripts/genksyms/lex.l
index e4ddd49..400ae06 100644
--- a/scripts/genksyms/lex.l
+++ b/scripts/genksyms/lex.l
@@ -29,7 +29,7 @@
#include <ctype.h>
#include "genksyms.h"
-#include "parse.h"
+#include "parse.tab.h"
/* We've got a two-level lexer here. We let flex do basic tokenization
and then we categorize those basic tokens in the second stage. */
@@ -94,7 +94,7 @@ MC_TOKEN ([~%^&*+=|<>/-]=)|(&&)|("||")|(->)|(<<)|(>>)
/* Bring in the keyword recognizer. */
-#include "keywords.c"
+#include "keywords.hash.c"
/* Macros to append to our phrase collection list. */
OpenPOWER on IntegriCloud