diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2018-12-10 17:35:51 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2018-12-10 17:35:51 (GMT) |
commit | 3aeeb336be684f7a717ceff382e632ae21a84625 (patch) | |
tree | 2d15dbfbb39b77ae154cb657a05e6d826dcc1fc2 /ds9 | |
parent | 0547b5a2812d3cb85b76c6ab53f4d54f1beaed95 (diff) | |
download | blt-3aeeb336be684f7a717ceff382e632ae21a84625.zip blt-3aeeb336be684f7a717ceff382e632ae21a84625.tar.gz blt-3aeeb336be684f7a717ceff382e632ae21a84625.tar.bz2 |
add numeric to Contour Levels command
Diffstat (limited to 'ds9')
-rw-r--r-- | ds9/parsers/contourparser.tac | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ds9/parsers/contourparser.tac b/ds9/parsers/contourparser.tac index 5366b40..3647f31 100644 --- a/ds9/parsers/contourparser.tac +++ b/ds9/parsers/contourparser.tac @@ -87,11 +87,14 @@ contour : yesno {ProcessCmdSet contour view $1 UpdateContour} | MODE_ modes | SCOPE_ scope {ContourCmdMode scope $2} | LIMITS_ numeric numeric {ContourCmdLimits $2 $3} - | LEVELS_ STRING_ {ContourCmdLevels $2} - | LEVELS_ numeric {ContourCmdLevels $2} + | LEVELS_ levels | GENERATE_ {ContourDialog; ContourGenerateDialog; UpdateContour} ; +levels : STRING_ {ContourCmdLevels $1} + | numeric {ContourCmdLevels $1} + ; + load : STRING_ {ContourCmdLoad $1} | LEVELS_ STRING_ {ContourCmdLoadLevels $2} # backward compatibility |