summaryrefslogtreecommitdiffstats
path: root/ds9/library/lex.fcl
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2018-02-24 19:21:53 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2018-02-24 19:21:53 (GMT)
commit9bfe0e4b83c2b315ead079a9e6c746173878f0af (patch)
treeb27da73b31fb3726391576b43970ba43bdf8dfc0 /ds9/library/lex.fcl
parent64443ae4af0357574ac3108258ac0f315e2a3bc9 (diff)
downloadblt-9bfe0e4b83c2b315ead079a9e6c746173878f0af.zip
blt-9bfe0e4b83c2b315ead079a9e6c746173878f0af.tar.gz
blt-9bfe0e4b83c2b315ead079a9e6c746173878f0af.tar.bz2
add support for namespaces
Diffstat (limited to 'ds9/library/lex.fcl')
-rw-r--r--ds9/library/lex.fcl10
1 files changed, 6 insertions, 4 deletions
diff --git a/ds9/library/lex.fcl b/ds9/library/lex.fcl
index f5d25a3..3a5c6e6 100644
--- a/ds9/library/lex.fcl
+++ b/ds9/library/lex.fcl
@@ -6,7 +6,7 @@ source $ds9(root)/library/parser.tab.tcl
%option caseless
%option nodefault
%option nointeractive
-%option stack
+#%option stack
#%option debug
D [0-9]
@@ -14,9 +14,11 @@ E [Ee][+-]?{D}+
%%
--foo {return $yy::FOOCMD_}
--bar {return $yy::BARCMD_}
-
+close {return $yy::CLOSE_}
+in {return $yy::IN_}
+fit {return $yy::FIT_}
+open {return $yy::OPEN_}
+out {return $yy::OUT_}
to {return $yy::TO_}
# INT