Add tests

This commit is contained in:
Clément Fournier
2020-06-18 21:02:49 +02:00
parent 7f081f0e63
commit d624ee99f0
7 changed files with 23 additions and 34 deletions

View File

@ -305,7 +305,7 @@ TOKEN :
{
< #CHRPREF : <STRPREF>>
| < CHARACTER : <CHRPREF>
"'" ( ( ~["'","\\","\r","\n"] ) | ( "\\" ( ~["\n","\r"] ) ) )* "'" >
"'" ( ( ~["'","\\","\r","\n"] ) | ( "\\" ( ~["\n","\r"] ) ) )+ "'" >
| < #STRPREF : ("L" | "u" | "U" | "u8")? >
| < STRING : <STRPREF>