summaryrefslogtreecommitdiff
path: root/src/compiler/GF/Grammar
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/GF/Grammar')
-rw-r--r--src/compiler/GF/Grammar/Parser.y2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/GF/Grammar/Parser.y b/src/compiler/GF/Grammar/Parser.y
index 969aa25c3..e070f939d 100644
--- a/src/compiler/GF/Grammar/Parser.y
+++ b/src/compiler/GF/Grammar/Parser.y
@@ -5,6 +5,7 @@ module GF.Grammar.Parser
, pModDef
, pModHeader
, pExp
+ , pTopDef
) where
import GF.Infra.Ident
@@ -20,6 +21,7 @@ import GF.Compile.Update (buildAnyTree)
}
%name pModDef ModDef
+%name pTopDef TopDef
%partial pModHeader ModHeader
%name pExp Exp