Allow '@' in unquoted strings, such as with the "path" statement. Note
that one can use any character they like by using double quotes. PR: 200895 MFC after: 2 weeks Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
521db0ac8d
commit
a66d51f3bf
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=284542
@ -80,7 +80,7 @@ target { return TARGET; }
|
||||
timeout { return TIMEOUT; }
|
||||
\"[^"]+\" { yylval.str = strndup(yytext + 1,
|
||||
strlen(yytext) - 2); return STR; }
|
||||
[a-zA-Z0-9\.\-_/\:\[\]]+ { yylval.str = strdup(yytext); return STR; }
|
||||
[a-zA-Z0-9\.\-@_/\:\[\]]+ { yylval.str = strdup(yytext); return STR; }
|
||||
\{ { return OPENING_BRACKET; }
|
||||
\} { return CLOSING_BRACKET; }
|
||||
#.*$ /* ignore comments */;
|
||||
|
Loading…
Reference in New Issue
Block a user