summaryrefslogtreecommitdiffstats
path: root/ds9
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2017-07-20 16:03:41 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2017-07-20 16:03:41 (GMT)
commitaa656315a02bbd472190442759c690ef7dc4feaf (patch)
treea21611e96f0056783ca6d06eb94495b8f2f6d60e /ds9
parent2a22e8663aff97d966dec7889eced32dcc51dbff (diff)
downloadblt-aa656315a02bbd472190442759c690ef7dc4feaf.zip
blt-aa656315a02bbd472190442759c690ef7dc4feaf.tar.gz
blt-aa656315a02bbd472190442759c690ef7dc4feaf.tar.bz2
update parser
Diffstat (limited to 'ds9')
-rw-r--r--ds9/library/parser.tac18
1 files changed, 9 insertions, 9 deletions
diff --git a/ds9/library/parser.tac b/ds9/library/parser.tac
index cd4f832..9cc4086 100644
--- a/ds9/library/parser.tac
+++ b/ds9/library/parser.tac
@@ -359,6 +359,15 @@ commands : commands command
| command
;
+int : INT_ {set _ $1}
+ | 123_ {set _ 123}
+ | 132_ {set _ 132}
+ | 213_ {set _ 213}
+ | 231_ {set _ 231}
+ | 312_ {set _ 312}
+ | 321_ {set _ 321}
+ ;
+
command : 2MASSCMD_ {2MASSDialog} 2mass
| 3DCMD_ {3DDialog} 3d
| ALIGNCMD_ align
@@ -423,15 +432,6 @@ command : 2MASSCMD_ {2MASSDialog} 2mass
| STRING_ {CommandLineFileName $1}
;
-int : INT_ {set _ $1}
- | 123_ {set _ $1}
- | 132_ {set _ $1}
- | 213_ {set _ $1}
- | 231_ {set _ $1}
- | 312_ {set _ $1}
- | 321_ {set _ $1}
- ;
-
numeric : int {set _ $1}
| REAL_ {set _ $1}
;