diff options
Diffstat (limited to 'ds9')
-rw-r--r-- | ds9/library/lex.fcl | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ds9/library/lex.fcl b/ds9/library/lex.fcl index 7e37754..fe661be 100644 --- a/ds9/library/lex.fcl +++ b/ds9/library/lex.fcl @@ -10,13 +10,16 @@ source $ds9(root)/library/parser.tab.tcl %option yylineno %option debug +%x FOO +%s BAR + D [0-9] E [Ee][+-]?{D}+ %% -close {return $yy::CLOSE_} -in {return $yy::IN_} +<FOO>close {return $yy::CLOSE_} +<BAR>in {return $yy::IN_} fit {return $yy::FIT_} open {return $yy::OPEN_} out {return $yy::OUT_} |