Masahiro Yamada
9de071536c
kconfig: begin PARAM state only when seeing a command keyword
...
Currently, any statement line starts with a keyword with TF_COMMAND
flag. So, the following three lines are dead code.
alloc_string(yytext, yyleng);
zconflval.string = text;
return T_WORD;
If a T_WORD token is returned in this context, it will cause syntax
error in the parser anyway.
The next commit will support the assignment statement where a line
starts with an arbitrary identifier. So, I want the lexer to switch
to the PARAM state only when it sees a command keyword.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2018-05-29 03:31:19 +09:00
..
2018-03-26 02:01:23 +09:00
2018-03-28 14:30:41 +10:00
2018-04-24 07:47:40 -05:00
2018-03-31 13:18:27 +11:00
2018-01-19 10:09:41 -08:00
2018-05-05 10:24:53 +09:00
2018-05-29 03:31:19 +09:00
2017-03-28 16:16:52 +02:00
2018-05-03 01:17:44 +09:00
2018-04-13 23:18:41 +09:00
2017-11-17 17:45:29 -08:00
2017-11-02 11:10:55 +01:00
2017-06-23 14:17:38 -06:00
2018-04-03 15:51:22 -07:00
2018-04-07 19:04:02 +09:00
2018-04-09 16:47:28 +02:00
2017-05-14 11:20:44 +09:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-02-03 11:49:06 +01:00
2018-05-25 18:12:11 -07:00
2018-03-26 15:56:15 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-03-26 02:01:18 +09:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-02-02 00:21:47 +09:00
2017-11-02 11:10:55 +01:00
2014-04-30 17:34:32 +02:00
2016-10-11 15:06:30 -07:00
2017-11-02 11:10:55 +01:00
2018-01-31 17:18:34 -08:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-10-12 11:07:42 -06:00
2017-05-14 11:20:44 +09:00
2018-05-04 06:21:06 -04:00
2015-09-25 16:31:45 +01:00
2015-04-15 14:01:12 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-05-11 17:28:45 -07:00
2018-03-26 02:01:24 +09:00
2017-10-23 08:01:37 -06:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-03-26 02:01:18 +09:00
2017-05-14 11:20:44 +09:00
2017-11-17 16:10:01 -08:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-03-26 02:01:18 +09:00
2017-11-02 11:10:55 +01:00
2016-02-26 15:30:20 +00:00
2018-04-04 16:01:43 -07:00
2018-05-29 03:28:58 +09:00
2018-03-29 15:27:42 -06:00
2017-11-02 11:10:55 +01:00
2018-04-07 08:50:34 +10:00
2017-11-02 11:10:55 +01:00
2018-03-26 02:01:24 +09:00
2017-11-02 11:10:55 +01:00
2017-11-17 17:45:29 -08:00
2018-04-07 19:04:02 +09:00
2017-11-02 11:10:55 +01:00
2017-11-14 18:25:40 -08:00
2018-01-18 09:37:53 +09:00
2018-05-05 10:24:52 +09:00
2017-11-17 17:45:29 -08:00
2018-04-07 19:04:02 +09:00
2018-02-06 18:32:47 -08:00
2017-11-17 16:10:04 -08:00
2018-05-05 10:24:52 +09:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-17 17:45:29 -08:00
2017-11-02 11:10:55 +01:00
2018-02-06 18:32:46 -08:00
2017-11-02 11:10:55 +01:00
2017-05-14 11:20:44 +09:00
2017-11-17 17:45:29 -08:00
2017-11-02 11:10:55 +01:00
2015-06-23 13:35:47 +09:00
2017-11-02 11:10:55 +01:00
2017-03-13 09:40:28 -07:00
2018-03-26 02:01:19 +09:00
2017-03-11 11:13:38 +09:00
2017-11-17 16:10:01 -08:00
2017-11-02 11:10:55 +01:00
2014-06-10 00:04:06 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-02-23 14:29:59 +00:00
2015-11-03 10:45:26 -05:00
2018-04-04 16:43:47 -07:00
2017-11-02 11:10:55 +01:00
2014-06-10 00:04:06 +02:00
2017-02-10 12:43:47 +11:00
2016-11-14 11:11:51 +11:00
2014-10-14 02:18:23 +02:00
2017-11-17 16:10:00 -08:00
2017-09-08 10:02:55 -06:00
2018-05-04 06:21:06 -04:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-01-31 17:18:34 -08:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2014-08-20 16:03:45 +02:00