Implement new parsing rules for labels

See changes in expressions.grm
This commit is contained in:
Denis Zharkov
2015-04-27 12:34:12 +03:00
parent 0d76634f6b
commit 507eefcaa5
20 changed files with 1048 additions and 109 deletions
+4 -4
View File
@@ -1,7 +1,7 @@
fun foo() {
return
return 1
return (@a 1)
return (a@ 1)
return@
return@ 1
@@ -10,8 +10,8 @@ fun foo() {
return@a
return@a 1
return@a (@a 1)
return@a @a 1
return@a (a@ 1)
return@a a@ 1
return@@
return@@ 1
@@ -24,7 +24,7 @@ fun foo() {
continue@
continue@a
a.filter @f{
a.filter f@{
if (1) return
return@f true
}