projects
/
carl9170fw.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wireless: align some HE capabilities with the spec
[carl9170fw.git]
/
config
/
lexer.l
diff --git
a/config/lexer.l
b/config/lexer.l
index 8aa019777f3d4291ef09efc001d4e18266aea905..2ee9f31f9ccf6317c5134613b2bd6f2cbdb8c468 100644
(file)
--- a/
config/lexer.l
+++ b/
config/lexer.l
@@
-12,7
+12,6
@@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <unistd.h>
#include "lkc.h"
#include "parser.tab.h"
#include "lkc.h"
#include "parser.tab.h"
@@
-36,7
+35,7
@@
struct buffer {
YY_BUFFER_STATE state;
};
YY_BUFFER_STATE state;
};
-struct buffer *current_buf;
+st
atic st
ruct buffer *current_buf;
static int last_ts, first_ts;
static int last_ts, first_ts;
@@
-105,7
+104,7
@@
n [A-Za-z0-9_-]
"endchoice" return T_ENDCHOICE;
"endif" return T_ENDIF;
"endmenu" return T_ENDMENU;
"endchoice" return T_ENDCHOICE;
"endif" return T_ENDIF;
"endmenu" return T_ENDMENU;
-"help"
|"---help---"
return T_HELP;
+"help"
return T_HELP;
"hex" return T_HEX;
"if" return T_IF;
"imply" return T_IMPLY;
"hex" return T_HEX;
"if" return T_IF;
"imply" return T_IMPLY;