diff options
| author | bjorn <bjorn@bringert.net> | 2008-10-02 14:11:41 +0000 |
|---|---|---|
| committer | bjorn <bjorn@bringert.net> | 2008-10-02 14:11:41 +0000 |
| commit | fa69bd8ab3c82a6c7e3358db42c96919f8ce4967 (patch) | |
| tree | f4a5f79312e915146c9af4fe2b04575a51c427a6 /src/GF/Source/ParGF.y | |
| parent | 9e501521b4f88ebd5c5fb95e24af06d5be6ffe3a (diff) | |
Regenerate source GF parser from GF.cf. Now, when GF/Source/Makefile is used, no hand-hacking is needed.
Diffstat (limited to 'src/GF/Source/ParGF.y')
| -rw-r--r-- | src/GF/Source/ParGF.y | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/GF/Source/ParGF.y b/src/GF/Source/ParGF.y index 5d6cadb12..397c57eb2 100644 --- a/src/GF/Source/ParGF.y +++ b/src/GF/Source/ParGF.y @@ -151,19 +151,19 @@ Transfer : '(' 'transfer' 'in' Open ')' { TransferIn $4 } | '(' 'transfer' 'out' Open ')' { TransferOut $4 } -ModHeader :: { ModDef } -ModHeader : ComplMod ModType '=' ModHeaderBody { MModule $1 $2 $4 } - - -ModHeaderBody :: { ModBody } -ModHeaderBody : Extend Opens { MBody $1 $2 [] } - | ListIncluded { MNoBody $1 } - | Included 'with' ListOpen { MWith $1 $3 } - | Included 'with' ListOpen '**' Opens { MWithBody $1 $3 $5 [] } - | ListIncluded '**' Included 'with' ListOpen { MWithE $1 $3 $5 } - | ListIncluded '**' Included 'with' ListOpen '**' Opens { MWithEBody $1 $3 $5 $7 [] } - | 'reuse' PIdent { MReuse $2 } - | 'union' ListIncluded { MUnion $2 } +ModHeader :: { ModHeader } +ModHeader : ComplMod ModType '=' ModHeaderBody { MModule2 $1 $2 $4 } + + +ModHeaderBody :: { ModHeaderBody } +ModHeaderBody : Extend Opens { MBody2 $1 $2 } + | ListIncluded { MNoBody2 $1 } + | Included 'with' ListOpen { MWith2 $1 $3 } + | Included 'with' ListOpen '**' Opens { MWithBody2 $1 $3 $5 } + | ListIncluded '**' Included 'with' ListOpen { MWithE2 $1 $3 $5 } + | ListIncluded '**' Included 'with' ListOpen '**' Opens { MWithEBody2 $1 $3 $5 $7 } + | 'reuse' PIdent { MReuse2 $2 } + | 'union' ListIncluded { MUnion2 $2 } ModType :: { ModType } |
