From 991fc865710767fb1330b5c453e03dd8876a7504 Mon Sep 17 00:00:00 2001 From: Adam Knapp <knappadam5@gmail.com> Date: Wed, 30 Dec 2020 14:28:03 +0100 Subject: [PATCH] Renaming Arithmetic -> Float Signed-off-by: Adam Knapp <knappadam5@gmail.com> --- .../core/cfgparser/RuntimeCfgPreParser.g4 | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/org.eclipse.titan.runtime/src/org/eclipse/titan/runtime/core/cfgparser/RuntimeCfgPreParser.g4 b/org.eclipse.titan.runtime/src/org/eclipse/titan/runtime/core/cfgparser/RuntimeCfgPreParser.g4 index 1481337346..07d93da53a 100644 --- a/org.eclipse.titan.runtime/src/org/eclipse/titan/runtime/core/cfgparser/RuntimeCfgPreParser.g4 +++ b/org.eclipse.titan.runtime/src/org/eclipse/titan/runtime/core/cfgparser/RuntimeCfgPreParser.g4 @@ -77,7 +77,7 @@ pr_MainControllerItemUnixDomainSocketValue: pr_MainControllerItemKillTimer: KILLTIMER ASSIGNMENTCHAR - pr_ArithmeticValueExpression + pr_FloatValueExpression SEMICOLON? ; @@ -1006,35 +1006,35 @@ pr_IndexItemIndex: SQUARECLOSE ; -pr_ArithmeticValueExpression: - pr_ArithmeticAddExpression +pr_FloatValueExpression: + pr_FloatAddExpression ; -pr_ArithmeticAddExpression: - pr_ArithmeticMulExpression - ( PLUS pr_ArithmeticMulExpression - | MINUS pr_ArithmeticMulExpression +pr_FloatAddExpression: + pr_FloatMulExpression + ( PLUS pr_FloatMulExpression + | MINUS pr_FloatMulExpression )* ; -pr_ArithmeticMulExpression: - pr_ArithmeticUnaryExpression - ( STAR pr_ArithmeticUnaryExpression - | SLASH pr_ArithmeticUnaryExpression +pr_FloatMulExpression: + pr_FloatUnaryExpression + ( STAR pr_FloatUnaryExpression + | SLASH pr_FloatUnaryExpression )* ; -pr_ArithmeticUnaryExpression: +pr_FloatUnaryExpression: ( PLUS | MINUS )* - pr_ArithmeticPrimaryExpression + pr_FloatPrimaryExpression ; -pr_ArithmeticPrimaryExpression: +pr_FloatPrimaryExpression: ( pr_Float | pr_NaturalNumber -| LPAREN pr_ArithmeticAddExpression RPAREN +| LPAREN pr_FloatAddExpression RPAREN ) ; -- GitLab