diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2018-03-03 22:28:48 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2018-03-03 22:28:48 (GMT) |
commit | 815eb928cfe5b837039abad4475181c4b506c714 (patch) | |
tree | 012eafb2d1b161b6563112ff667397cc220c10aa /ds9/parsers | |
parent | a739df3afe46b9d61cf7e613cfdd48cd920fdba1 (diff) | |
download | blt-815eb928cfe5b837039abad4475181c4b506c714.zip blt-815eb928cfe5b837039abad4475181c4b506c714.tar.gz blt-815eb928cfe5b837039abad4475181c4b506c714.tar.bz2 |
simplify ds9 parsers
Diffstat (limited to 'ds9/parsers')
-rw-r--r-- | ds9/parsers/panlex.fcl | 15 | ||||
-rw-r--r-- | ds9/parsers/zoomlex.fcl | 16 |
2 files changed, 6 insertions, 25 deletions
diff --git a/ds9/parsers/panlex.fcl b/ds9/parsers/panlex.fcl index 37488da..bc078fc 100644 --- a/ds9/parsers/panlex.fcl +++ b/ds9/parsers/panlex.fcl @@ -1,21 +1,12 @@ +#tab panparser.tab.tcl + %{ %} -%option noyywrap -%option caseless -%option nodefault -%option nointeractive -#%option stack -%option yylineno -#%option debug - -D [0-9] -E [Ee][+-]?{D}+ +#include defs.fin %% -#tab panparser.tab.tcl - close {return $CLOSE_} open {return $OPEN_} to {return $TO_} diff --git a/ds9/parsers/zoomlex.fcl b/ds9/parsers/zoomlex.fcl index 370b31c..f2cfd2c 100644 --- a/ds9/parsers/zoomlex.fcl +++ b/ds9/parsers/zoomlex.fcl @@ -1,21 +1,12 @@ +#tab zoomparser.tab.tcl + %{ %} -%option noyywrap -%option caseless -%option nodefault -%option nointeractive -#%option stack -%option yylineno -#%option debug - -D [0-9] -E [Ee][+-]?{D}+ +#include defs.fin %% -#tab zoomparser.tab.tcl - close {return $CLOSE_} in {return $IN_} fit {return $FIT_} @@ -26,4 +17,3 @@ to {return $TO_} #include base.fin %% - |