summaryrefslogtreecommitdiffstats
path: root/ds9/parsers/contourparser.tac
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2018-03-23 17:34:57 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2018-03-23 17:34:57 (GMT)
commit59ccc64f5baf0ecae38e99d21c338b9106125cad (patch)
treef418543771f838ff2f41072f48350f80cb7eb4ae /ds9/parsers/contourparser.tac
parente27a7c45807da42ffd5cba644f415956672b13ab (diff)
downloadblt-59ccc64f5baf0ecae38e99d21c338b9106125cad.zip
blt-59ccc64f5baf0ecae38e99d21c338b9106125cad.tar.gz
blt-59ccc64f5baf0ecae38e99d21c338b9106125cad.tar.bz2
update ds9 parsers
Diffstat (limited to 'ds9/parsers/contourparser.tac')
-rw-r--r--ds9/parsers/contourparser.tac5
1 files changed, 5 insertions, 0 deletions
diff --git a/ds9/parsers/contourparser.tac b/ds9/parsers/contourparser.tac
index 0ff93eb..42947b1 100644
--- a/ds9/parsers/contourparser.tac
+++ b/ds9/parsers/contourparser.tac
@@ -65,8 +65,13 @@ contour : yesno {global contour; set contour(view) $1; UpdateContour}
| LOAD_ load
| SAVE_ save
| CONVERT_ {Contour2Polygons}
+
+ | LOAD_ LEVELS_ STRING_ {ContourCmdLoadLevels $3}
+ | SAVE_ LEVELS_ STRING_ {ContourCmdSaveLevels $3}
+# backward compatibility
| LOADLEVELS_ STRING_ {ContourCmdLoadLevels $2}
| SAVELEVELS_ STRING_ {ContourCmdSaveLevels $2}
+
| COPY_ {ContourCCopyDialog}
| PASTE_ paste
| COLOR_ STRING_ {ContourCmdColor $2}