summaryrefslogtreecommitdiffstats
path: root/ds9/parsers/maskparser.tac
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2018-11-09 19:56:18 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2018-11-09 19:56:18 (GMT)
commit1772cc3748f183d207660c21b164f9385853844d (patch)
treed698526b66f0f558ea1153600497546f47488d09 /ds9/parsers/maskparser.tac
parent230ef6d812fc698695a7742f1ddce1d437f31fb4 (diff)
downloadblt-1772cc3748f183d207660c21b164f9385853844d.zip
blt-1772cc3748f183d207660c21b164f9385853844d.tar.gz
blt-1772cc3748f183d207660c21b164f9385853844d.tar.bz2
add mask nan
Diffstat (limited to 'ds9/parsers/maskparser.tac')
-rw-r--r--ds9/parsers/maskparser.tac4
1 files changed, 4 insertions, 0 deletions
diff --git a/ds9/parsers/maskparser.tac b/ds9/parsers/maskparser.tac
index df578d4..3c777a7 100644
--- a/ds9/parsers/maskparser.tac
+++ b/ds9/parsers/maskparser.tac
@@ -13,6 +13,8 @@
%token CLOSE_
%token COLOR_
%token MARK_
+%token NAN_
+%token NONNAN_
%token NONZERO_
%token OPEN_
%token RANGE_
@@ -45,6 +47,8 @@ mask : {global parse; set parse(result) mask}
mark : ZERO_ {set _ zero}
| NONZERO_ {set _ nonzero}
+ | NAN_ {set _ nan}
+ | NONNAN_ {set _ nonnan}
| RANGE_ {set _ range}
;