diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2018-05-29 21:27:31 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2018-05-29 21:27:31 (GMT) |
commit | b8395e8e32cccb75565a170160772857087901de (patch) | |
tree | 2494425c02897874ba1a957a51224522c4a2e10a /ds9/library/envi.tcl | |
parent | 41505b4129a005e96c6afc3344ccf61097884fbd (diff) | |
download | blt-b8395e8e32cccb75565a170160772857087901de.zip blt-b8395e8e32cccb75565a170160772857087901de.tar.gz blt-b8395e8e32cccb75565a170160772857087901de.tar.bz2 |
update parsers
Diffstat (limited to 'ds9/library/envi.tcl')
-rw-r--r-- | ds9/library/envi.tcl | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/ds9/library/envi.tcl b/ds9/library/envi.tcl index 43459b6..1f3d755 100644 --- a/ds9/library/envi.tcl +++ b/ds9/library/envi.tcl @@ -35,37 +35,10 @@ proc ProcessENVICmd {varname iname sock fn} { upvar $varname var upvar $iname i - global debug - if {$debug(tcl,parser)} { envi::YY_FLUSH_BUFFER envi::yy_scan_string [lrange $var $i end] envi::yyparse incr i [expr $envi::yycnt-1] - } else { - - switch -- [string tolower [lindex $var $i]] { - new { - incr i - CreateFrame - } - mask { - incr i - # not supported - } - slice { - incr i - # not supported - } - } - - set fn [lindex $var $i] - set fn2 [lindex $var [expr $i+1]] - if {$fn2 == {}} { - set fn2 [FindENVIDataFile $fn] - } - ImportENVIFile $fn $fn2 - FinishLoad -} } proc FindENVIDataFile {fn} { |