summaryrefslogtreecommitdiffstats
path: root/ds9/parsers/zoomparser.tac
diff options
context:
space:
mode:
Diffstat (limited to 'ds9/parsers/zoomparser.tac')
-rw-r--r--ds9/parsers/zoomparser.tac10
1 files changed, 3 insertions, 7 deletions
diff --git a/ds9/parsers/zoomparser.tac b/ds9/parsers/zoomparser.tac
index 1e2969e..71c738d 100644
--- a/ds9/parsers/zoomparser.tac
+++ b/ds9/parsers/zoomparser.tac
@@ -1,9 +1,7 @@
%{
%}
-%token INT_
-%token REAL_
-%token STRING_
+#include base.tin
%start command
@@ -16,14 +14,12 @@
%%
+#include base.trl
+
command : zoom
| zoom {yyclearin; YYACCEPT} STRING_
;
-numeric : INT_ {set _ $1}
- | REAL_ {set _ $1}
- ;
-
zoom : OPEN_ {PanZoomDialog}
| CLOSE_ {PanZoomDestroyDialog}
| IN_ {Zoom 2 2}