summaryrefslogtreecommitdiffstats
path: root/ds9/parsers/cmapparser.tac
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2018-03-12 18:24:15 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2018-03-12 18:24:15 (GMT)
commitdb0f037bdf27018d2717e8aef4ae020fd845f24b (patch)
tree457169dd4cbca0514b62014a00d307e065bc09ef /ds9/parsers/cmapparser.tac
parente4366300aca0d6d4ad10f7ab58c5b3176715b611 (diff)
downloadblt-db0f037bdf27018d2717e8aef4ae020fd845f24b.zip
blt-db0f037bdf27018d2717e8aef4ae020fd845f24b.tar.gz
blt-db0f037bdf27018d2717e8aef4ae020fd845f24b.tar.bz2
update ds9 parsers
Diffstat (limited to 'ds9/parsers/cmapparser.tac')
-rw-r--r--ds9/parsers/cmapparser.tac5
1 files changed, 4 insertions, 1 deletions
diff --git a/ds9/parsers/cmapparser.tac b/ds9/parsers/cmapparser.tac
index b699991..18eecfe 100644
--- a/ds9/parsers/cmapparser.tac
+++ b/ds9/parsers/cmapparser.tac
@@ -28,17 +28,20 @@ command : cmap
;
cmap : STRING_ {CmapCmd $1}
- | CLOSE_ {ColormapDestroyDialog}
| OPEN_ {ColormapDialog}
+ | CLOSE_ {ColormapDestroyDialog}
# backward compatibility
| MATCH_ {MatchColorCurrent}
# backward compatibility
| LOCK_ yesno {global colorbar; set colorbar(lock) $2; LockColorCurrent}
| LOAD_ cmapLoad
+# backward compatibility
| FILE_ cmapLoad
| SAVE_ STRING_ {SaveColormapFile $2; FileLast colormapfbox $2}
| INVERT_ yesno {global colorbar; set colorbar(invert) $2; InvertColorbar}
| TAG_ cmapTag
+ | numeric numeric {CmapValueCmd $1 $2}
+# backward compatibility
| VALUE_ numeric numeric {CmapValueCmd $2 $3}
;