X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=config%2Flexer.l;h=8b0fd8f121139968a5562263ec89affcf044f18c;hb=2c7842933aa7936171c78fdb62d6d8393e28ee87;hp=8aa019777f3d4291ef09efc001d4e18266aea905;hpb=1cad5edcbe7319807b678e2c263def285f6abcd2;p=carl9170fw.git diff --git a/config/lexer.l b/config/lexer.l index 8aa0197..8b0fd8f 100644 --- a/config/lexer.l +++ b/config/lexer.l @@ -36,7 +36,7 @@ struct buffer { YY_BUFFER_STATE state; }; -struct buffer *current_buf; +static struct buffer *current_buf; static int last_ts, first_ts; @@ -105,7 +105,7 @@ n [A-Za-z0-9_-] "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;