From 3993ce3990c34ede06062d43613042c8db07936a Mon Sep 17 00:00:00 2001 From: "Na, Hyunik" Date: Wed, 11 Dec 2024 21:00:21 +0900 Subject: [PATCH] revert the use of '%' as the modular operator because it confuses the lexer with the presence of cursor attributes and %type and %rowtype. --- pl_engine/pl_server/src/main/antlr/PlcLexer.g4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pl_engine/pl_server/src/main/antlr/PlcLexer.g4 b/pl_engine/pl_server/src/main/antlr/PlcLexer.g4 index bdf8847d2a2..8dad016e93e 100644 --- a/pl_engine/pl_server/src/main/antlr/PlcLexer.g4 +++ b/pl_engine/pl_server/src/main/antlr/PlcLexer.g4 @@ -96,7 +96,7 @@ LANGUAGE: L A N G U A G E ; LIKE: L I K E ; LIST: L I S T ; LOOP: L O O P ; -MOD: ( M O D | '%' ) ; +MOD: M O D ; MULTISET: M U L T I S E T ; NOT: N O T ; NULL_: N U L L ;