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)] }