Fix strings lexing and add a few tests

This commit is contained in:
Thomas Pelletier
2013-03-26 10:53:49 +01:00
parent b1c54ee485
commit 8a5d380286
4 changed files with 93 additions and 31 deletions
+1 -1
View File
@@ -305,7 +305,7 @@ func lexString(l *lexer) stateFn {
l.emitWithValue(tokenString, growing_string)
l.pos += 1
l.ignore()
return lexVoid
return lexRvalue
}
if l.follow("\\\"") {