summaryrefslogtreecommitdiffstats
path: root/ds9/library/2mass.tcl
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2018-05-29 20:00:43 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2018-05-29 20:00:43 (GMT)
commit503ed168603b213005c246edecfdfe77eefcc981 (patch)
tree43f87078278b13bff9240dd6c41f5024aac6e620 /ds9/library/2mass.tcl
parent669a10073068cf4c1366befcd2ebb0261eeff529 (diff)
downloadblt-503ed168603b213005c246edecfdfe77eefcc981.zip
blt-503ed168603b213005c246edecfdfe77eefcc981.tar.gz
blt-503ed168603b213005c246edecfdfe77eefcc981.tar.bz2
cleanup ProcessCmd code
Diffstat (limited to 'ds9/library/2mass.tcl')
-rw-r--r--ds9/library/2mass.tcl13
1 files changed, 4 insertions, 9 deletions
diff --git a/ds9/library/2mass.tcl b/ds9/library/2mass.tcl
index aaf315f..cb2fa23 100644
--- a/ds9/library/2mass.tcl
+++ b/ds9/library/2mass.tcl
@@ -133,15 +133,10 @@ proc Process2MASSCmd {varname iname} {
2MASSDialog
- global debug
- if {$debug(tcl,parser)} {
- twomass::YY_FLUSH_BUFFER
- twomass::yy_scan_string [lrange $var $i end]
- twomass::yyparse
- incr i [expr $twomass::yycnt-1]
- } else {
- IMGSVRProcessCmd $varname $iname dtwomass
- }
+ twomass::YY_FLUSH_BUFFER
+ twomass::yy_scan_string [lrange $var $i end]
+ twomass::yyparse
+ incr i [expr $twomass::yycnt-1]
}
proc ProcessSend2MASSCmd {proc id param} {