summaryrefslogtreecommitdiffstats
path: root/ds9/parsers/binparser.tac
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2018-05-31 17:27:04 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2018-05-31 17:27:04 (GMT)
commit68409ff3a87e74b06307f782a0b1343d58a0e614 (patch)
treecf82c4f959ab1236949aa31dbf0c3c39fe1d24c3 /ds9/parsers/binparser.tac
parent1ca38c527c5c0ba7421891101bed4221f6219950 (diff)
downloadblt-68409ff3a87e74b06307f782a0b1343d58a0e614.zip
blt-68409ff3a87e74b06307f782a0b1343d58a0e614.tar.gz
blt-68409ff3a87e74b06307f782a0b1343d58a0e614.tar.bz2
update ds9 bin parser
Diffstat (limited to 'ds9/parsers/binparser.tac')
-rw-r--r--ds9/parsers/binparser.tac12
1 files changed, 6 insertions, 6 deletions
diff --git a/ds9/parsers/binparser.tac b/ds9/parsers/binparser.tac
index 4d1f7eb..bcd0f66 100644
--- a/ds9/parsers/binparser.tac
+++ b/ds9/parsers/binparser.tac
@@ -40,15 +40,15 @@ command : bin
bin : OPEN_ {BinDialog}
| CLOSE_ {BinDestroyDialog}
| MATCH_ {MatchBinCurrent}
- | LOCK_ yesno {BinCmdSet lock $2 LockBinCurrent}
+ | LOCK_ yesno {ProcessCmdSet bin lock $2 LockBinCurrent}
| ABOUT_ about
- | BUFFERSIZE_ INT_ {BinCmdSet buffersize $2 ChangeBinBufferSize}
+ | BUFFERSIZE_ INT_ {ProcessCmdSet bin buffersize $2 ChangeBinBufferSize}
| COLS_ cols cols {BinCols \"$2\" \"$3\" \"\"}
| COLSZ_ cols cols cols {BinCols \"$2\" \"$3\" \"$4\"}
| FACTOR_ factor
- | DEPTH_ INT_ {BinCmdSet depth $2 ChangeBinDepth}
+ | DEPTH_ INT_ {ProcessCmdSet bin depth $2 ChangeBinDepth}
| FILTER_ filter {BinFilter $2}
- | FUNCTION_ function {BinCmdSet function) $2 ChangeBinFunction}
+ | FUNCTION_ function {ProcessCmdSet bin function $2 ChangeBinFunction}
| IN_ {Bin .5 .5}
| OUT_ {Bin 2 2}
| TO_ to
@@ -70,8 +70,8 @@ about : numeric numeric {BinAbout $1 $2}
| CENTER_ {BinAboutCenter}
;
-factor : numeric {BinCmdSet factor "$1 $1" ChangeBinFactor}
- | numeric numeric {BinCmdSet factor "$1 $2"; ChangeBinFactor}
+factor : numeric {ProcessCmdSet bin factor "$1 $1" ChangeBinFactor}
+ | numeric numeric {ProcessCmdSet bin factor "$1 $2" ChangeBinFactor}
;
filter : CLEAR_ {set _ {}}