diff options
-rw-r--r-- | sbin/hastd/token.l | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/hastd/token.l b/sbin/hastd/token.l index 389dfed..67c1e13 100644 --- a/sbin/hastd/token.l +++ b/sbin/hastd/token.l @@ -68,7 +68,7 @@ sha256 { DP; return SHA256; } hole { DP; return HOLE; } lzf { DP; return LZF; } [0-9]+ { DP; yylval.num = atoi(yytext); return NUM; } -[a-zA-Z0-9\.\-_/\:]+ { DP; yylval.str = strdup(yytext); return STR; } +[a-zA-Z0-9\.\-_/\:\[\]]+ { DP; yylval.str = strdup(yytext); return STR; } \{ { DP; depth++; return OB; } \} { DP; depth--; return CB; } #.*$ /* ignore comments */; |