summaryrefslogtreecommitdiff
path: root/src/GF/Source/ParGF.y
diff options
context:
space:
mode:
Diffstat (limited to 'src/GF/Source/ParGF.y')
-rw-r--r--src/GF/Source/ParGF.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/GF/Source/ParGF.y b/src/GF/Source/ParGF.y
index 3399c0862..944fe7562 100644
--- a/src/GF/Source/ParGF.y
+++ b/src/GF/Source/ParGF.y
@@ -456,6 +456,7 @@ Patt1 : Ident ListPatt { PC $1 $2 }
| Ident '.' Ident ListPatt { PQC $1 $3 $4 }
| Patt2 '*' { PRep $1 }
| Ident '@' Patt2 { PAs $1 $3 }
+ | '-' Patt2 { PNeg $2 }
| Patt2 { $1 }