Enum parsing changed: first entries, then members. Grammar fixed accordingly.

A set of compiler tests and some plugin tests changed accordingly.
Compiler Kotlin code changed accordingly.
This commit is contained in:
Mikhail Glukhikh
2015-05-05 12:41:20 +03:00
parent 7a4dee44b8
commit cf741cb868
23 changed files with 243 additions and 103 deletions
@@ -24,8 +24,8 @@ interface T1
// -----
enum class E1 {
object O7
ENTRY
object O7
}
// -----
@@ -56,8 +56,8 @@ interface T2
// -----
enum class E2 {
object O14 {}
ENTRY
object O14 {}
}
// -----
@@ -93,7 +93,7 @@ interface T3
// -----
enum class E3 {
ENTRY
object O21 {
}
ENTRY
}