diff options
| author | bringert <unknown> | 2004-09-29 15:53:46 +0000 |
|---|---|---|
| committer | bringert <unknown> | 2004-09-29 15:53:46 +0000 |
| commit | 7492cfd236352bab4beb8fcc2763cec5825c9bea (patch) | |
| tree | 8c766761ca416a987bf22c721b19f11461569c4a /src/GF/CFGM/CFG.cf | |
| parent | df2c63c5596db36f0c1899cced6b7ee2e946741e (diff) | |
Updated to simple CFGM grammar, use CFGM pretty printer when printing cfgm grammars.
Diffstat (limited to 'src/GF/CFGM/CFG.cf')
| -rw-r--r-- | src/GF/CFGM/CFG.cf | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/GF/CFGM/CFG.cf b/src/GF/CFGM/CFG.cf index f7b15aea1..c6b5c751b 100644 --- a/src/GF/CFGM/CFG.cf +++ b/src/GF/CFGM/CFG.cf @@ -25,7 +25,12 @@ TermS. Symbol ::= String; (:[]). [Symbol] ::= Symbol ; (:). [Symbol] ::= Symbol [Symbol] ; +Name. Name ::= SingleQuoteString ; +Category. Category ::= SingleQuoteString ; +token SingleQuoteString '\'' ((char - ["'\\"]) | ('\\' ["'\\"]))* '\'' ; + +{- Name. Name ::= [IdentParam] Category; terminator IdentParam "/"; @@ -46,3 +51,4 @@ ParamSimple. Param ::= Ident ; ParamPatt. Param ::= Ident "(" [Param] ")" ; ParamRec. Param ::= "{" [KeyValue] "}" ; separator Param "," ; +-}
\ No newline at end of file |
