diff options
| author | hallgren <hallgren@chalmers.se> | 2012-11-23 18:44:08 +0000 |
|---|---|---|
| committer | hallgren <hallgren@chalmers.se> | 2012-11-23 18:44:08 +0000 |
| commit | 53858fbc81fb2e1844bd43aa579a8b521f4606b5 (patch) | |
| tree | 58af23dcd40022f4b942df18d31f4029e7470629 /src/compiler/SimpleEditor | |
| parent | 4432d7c36cd4ed61cdfde6f87cc8fea2494534b7 (diff) | |
Fix a prededence bug in GF grammar pretty printer
The pretty printer produced
mkDet pre {"a"; "an" / vowel} Sg
which is not accepted by the parser. The parser assigns pre { ... }, to
prededence level 4, and this is now reflected in the pretty printer, so
it prints
mkDet (pre {"a"; "an" / vowel}) Sg
(This caused a problem in GFSE since it parsers pretty printed grammars...)
Diffstat (limited to 'src/compiler/SimpleEditor')
0 files changed, 0 insertions, 0 deletions
