This commit is contained in:
Olof hagsand 2020-02-02 15:59:26 +01:00
parent 19e21be0bc
commit 5fc9fa0b8d
3 changed files with 3 additions and 5 deletions

View file

@ -111,7 +111,7 @@ identifier {namestart}{namechar}*
<INIT>\: { return COLON; }
<INIT>{identifier} { clixon_api_path_parselval.string = strdup(yytext);
return IDENTIFIER; }
<<INIT>. { clixon_api_path_parseerror(_AY, "LEXICAL ERROR\n"); return -1; }
<INIT>. { clixon_api_path_parseerror(_AY, "LEXICAL ERROR\n"); return -1; }
<KEYV>\, { return COMMA; }
<KEYV>\/ { BEGIN(INIT); return SLASH; }