summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2017-06-30 18:36:48 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2017-06-30 18:36:48 (GMT)
commit1d5817b311cdaaec31f083eab0dcdfc6a5b155e2 (patch)
tree744771cc9d7f8d3bf6bdf4efa9ffd50e8d15e452
parent68ae74b3dd2d869942822730c8ed4ec6b57d2844 (diff)
downloadblt-1d5817b311cdaaec31f083eab0dcdfc6a5b155e2.zip
blt-1d5817b311cdaaec31f083eab0dcdfc6a5b155e2.tar.gz
blt-1d5817b311cdaaec31f083eab0dcdfc6a5b155e2.tar.bz2
update parser align
-rw-r--r--ds9/library/parser.tac3
1 files changed, 2 insertions, 1 deletions
diff --git a/ds9/library/parser.tac b/ds9/library/parser.tac
index f21ad05..fca234d 100644
--- a/ds9/library/parser.tac
+++ b/ds9/library/parser.tac
@@ -185,7 +185,8 @@ optDeg : {set _ degrees}
about : {puts "*** ABOUT ***"}
;
-align : {puts "*** ALIGN ***"}
+align : {global current; set current(align) 1; AlignWCSFrame}
+ | yesno {global current; set current(align) $1; AlignWCSFrame}
;
analysis : {puts "*** ANALYSIS ***"}