From b79a53adc5989ade1acdfc3738dde905f8728cdf Mon Sep 17 00:00:00 2001 From: Krasimir Angelov Date: Sat, 30 Aug 2025 14:54:07 +0000 Subject: [PATCH] fix parsing NLG operations --- src/compiler/api/GF/Grammar/Parser.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/api/GF/Grammar/Parser.y b/src/compiler/api/GF/Grammar/Parser.y index a6e04dd3a..b46b17a4f 100644 --- a/src/compiler/api/GF/Grammar/Parser.y +++ b/src/compiler/api/GF/Grammar/Parser.y @@ -720,7 +720,7 @@ NLG :: { Map.Map Ident Info } ListNLGDef :: { [(Ident,Info)] } ListNLGDef - : 'oper' NLGDef { [] } + : 'oper' NLGDef { $2 } | 'oper' NLGDef ListNLGDef { $2 ++ $3 } NLGDef :: { [(Ident,Info)] }