summaryrefslogtreecommitdiffstats
path: root/ds9/parsers/matchparser.tac
diff options
context:
space:
mode:
Diffstat (limited to 'ds9/parsers/matchparser.tac')
-rw-r--r--ds9/parsers/matchparser.tac10
1 files changed, 6 insertions, 4 deletions
diff --git a/ds9/parsers/matchparser.tac b/ds9/parsers/matchparser.tac
index 705b89b..b332702 100644
--- a/ds9/parsers/matchparser.tac
+++ b/ds9/parsers/matchparser.tac
@@ -1,6 +1,7 @@
%{
%}
+#include matchlock.tin
#include coords.tin
#include numeric.tin
#include string.tin
@@ -22,6 +23,7 @@
%%
+#include matchlock.trl
#include coords.trl
#include numeric.trl
@@ -29,10 +31,10 @@ command : match
| match {yyclearin; YYACCEPT} STRING_
;
-match : FRAME_ coordnone {MatchFrameCurrent $2}
- | CROSSHAIR_ coordnone {MatchCrosshairCurrent $2}
- | CROP_ coordnone {MatchCropCurrent $2}
- | SLICE_ slicenone {MatchCubeCurrent $2}
+match : FRAME_ match {MatchFrameCurrent $2}
+ | CROSSHAIR_ match {MatchCrosshairCurrent $2}
+ | CROP_ match {MatchCropCurrent $2}
+ | SLICE_ matchslice {MatchCubeCurrent $2}
| BIN_ {MatchBinCurrent}
| AXES_ {MatchAxesCurrent}
| SCALE_ {MatchScaleCurrent}