ra: allow dash as an IDENTIFIER(#4236)
@@ -53,7 +53,7 @@ static inline char *remove_dup_quotes(const char *s, size_t n)
[1-9][0-9]*|0 { yylval->integer = atoi(yytext); return INTEGER; }
\'([^']|'{2})*\' { yylval->string = remove_dup_quotes(yytext + 1, yyleng - 2); return STRING; }
-[_A-Za-z][A-Za-z0-9_.]* { yylval->string = flb_strdup(yytext); return IDENTIFIER; }
+[_A-Za-z][A-Za-z0-9_.-]* { yylval->string = flb_strdup(yytext); return IDENTIFIER; }
"$" |
"[" |
