JET-142 Support string templates:

Make '$' in short entries a separate token
This commit is contained in:
Andrey Breslav
2011-07-12 13:37:18 +04:00
parent 591740717a
commit ee61fa7e10
11 changed files with 471 additions and 441 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ fun demo() {
"$.$.asdf$\t"
"asd\$"
"asd$a<error>\x</error>"
"asd$a$asd$ <error>$xxx</error>"
"asd$a$asd$ $<error>xxx</error>"
"fosdfasdo${1 + bar + 100}}sdsdfgdsfsdf"
"foo${bar + map {foo}}sdfsdf"
"foo${bar + map { "foo" }}sdfsdf"