summaryrefslogtreecommitdiffstats
path: root/ds9/library/command.tcl
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2017-07-18 17:22:43 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2017-07-18 17:22:43 (GMT)
commita9aaaffb5d6fb23e21adb1c1a85cb342ca9ab252 (patch)
treec92d9fd746c7142a44d1b30f2bf01192f1632c64 /ds9/library/command.tcl
parent9f156481e9db5bca9d031ce1bbb00a72e5d1e69f (diff)
downloadblt-a9aaaffb5d6fb23e21adb1c1a85cb342ca9ab252.zip
blt-a9aaaffb5d6fb23e21adb1c1a85cb342ca9ab252.tar.gz
blt-a9aaaffb5d6fb23e21adb1c1a85cb342ca9ab252.tar.bz2
update parser
Diffstat (limited to 'ds9/library/command.tcl')
-rw-r--r--ds9/library/command.tcl7
1 files changed, 5 insertions, 2 deletions
diff --git a/ds9/library/command.tcl b/ds9/library/command.tcl
index a1196b8..c64b742 100644
--- a/ds9/library/command.tcl
+++ b/ds9/library/command.tcl
@@ -57,7 +57,8 @@ proc ds9Cmd {argv} {
}
proc ProcessCommand {argv argc} {
- if {0} {
+ if {1} {
+
YY_FLUSH_BUFFER
yy_scan_string $argv
yyparse
@@ -67,7 +68,8 @@ proc ProcessCommand {argv argc} {
FinishLoadPost
}
return
- }
+
+ } else {
global ds9
global pds9
@@ -497,6 +499,7 @@ proc ProcessCommand {argv argc} {
FinishLoadPost
}
}
+}
proc CommandLineFileName {item} {
global ds9