Upgrade antlr-kotlin to 1.0.0-RC4
This commit is contained in:
@@ -19,7 +19,7 @@ libfreenect = "0.5.7-1.5.9"
|
|||||||
librealsense = "2.53.1-1.5.9"
|
librealsense = "2.53.1-1.5.9"
|
||||||
gson = "2.10.1"
|
gson = "2.10.1"
|
||||||
antlr = "4.13.1"
|
antlr = "4.13.1"
|
||||||
antlrKotlin = "0.1.3"
|
antlrKotlin = "1.0.0-RC4"
|
||||||
tensorflow = "0.5.0"
|
tensorflow = "0.5.0"
|
||||||
minim = "2.2.2"
|
minim = "2.2.2"
|
||||||
netty = "4.1.109.Final"
|
netty = "4.1.109.Final"
|
||||||
|
|||||||
@@ -99,7 +99,7 @@ abstract class TypedExpressionListenerBase(
|
|||||||
if (s.inFunctionLiteral > 0) {
|
if (s.inFunctionLiteral > 0) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
val list = (0 until ctx.getExpression().size).map { s.valueStack.pop() }
|
val list = (0 until ctx.expression().size).map { s.valueStack.pop() }
|
||||||
s.valueStack.push(list.reversed())
|
s.valueStack.push(list.reversed())
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -127,7 +127,7 @@ abstract class TypedExpressionListenerBase(
|
|||||||
override fun exitFunctionLiteral(ctx: KeyLangParser.FunctionLiteralContext) {
|
override fun exitFunctionLiteral(ctx: KeyLangParser.FunctionLiteralContext) {
|
||||||
val s = state
|
val s = state
|
||||||
s.inFunctionLiteral--
|
s.inFunctionLiteral--
|
||||||
val functionExpr = ctx.getExpression().text
|
val functionExpr = ctx.expression().text
|
||||||
|
|
||||||
val ids = ctx.ID()
|
val ids = ctx.ID()
|
||||||
val f = when (ids.size) {
|
val f = when (ids.size) {
|
||||||
|
|||||||
Reference in New Issue
Block a user