summaryrefslogtreecommitdiff
path: root/src/GF
diff options
context:
space:
mode:
authoraarne <aarne@chalmers.se>2009-05-25 12:19:32 +0000
committeraarne <aarne@chalmers.se>2009-05-25 12:19:32 +0000
commita71aed81fd2abe142aa71ba75f59bb21a3afbd1e (patch)
treee5e8ed34cea3f395faad5dd41396035ec1e27070 /src/GF
parent3efb7a671bb9f40ac0b442aa94e1714ddd8c9c53 (diff)
fixed pre expressions, parsing {} patterns, and the path in resource Make.hs
Diffstat (limited to 'src/GF')
-rw-r--r--src/GF/Grammar/Parser.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/GF/Grammar/Parser.y b/src/GF/Grammar/Parser.y
index 1a9723c28..e07ec8684 100644
--- a/src/GF/Grammar/Parser.y
+++ b/src/GF/Grammar/Parser.y
@@ -483,6 +483,7 @@ Patt2
| '#' Ident '.' Ident { PM $2 $4 }
| '_' { PW }
| Ident { PV $1 }
+ | '{' Ident '}' { PC $2 [] }
| Ident '.' Ident { PP $1 $3 [] }
| Integer { PInt $1 }
| Double { PFloat $1 }