summaryrefslogtreecommitdiffstats
path: root/ds9/parsers/nrrdlex.fcl
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2018-05-09 19:38:50 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2018-05-09 19:38:50 (GMT)
commit5273df633cc312db28f2778b05dac48cbe3ae455 (patch)
tree9301f849278abc03bfc19fc9c15a21cab7483359 /ds9/parsers/nrrdlex.fcl
parent888c5a7dc8199ffdf42f5e58b26fa4863195f0e9 (diff)
downloadblt-5273df633cc312db28f2778b05dac48cbe3ae455.zip
blt-5273df633cc312db28f2778b05dac48cbe3ae455.tar.gz
blt-5273df633cc312db28f2778b05dac48cbe3ae455.tar.bz2
add ds9 nrrd parser
Diffstat (limited to 'ds9/parsers/nrrdlex.fcl')
-rw-r--r--ds9/parsers/nrrdlex.fcl16
1 files changed, 16 insertions, 0 deletions
diff --git a/ds9/parsers/nrrdlex.fcl b/ds9/parsers/nrrdlex.fcl
new file mode 100644
index 0000000..820bbbe
--- /dev/null
+++ b/ds9/parsers/nrrdlex.fcl
@@ -0,0 +1,16 @@
+#tab nrrdparser.tab.tcl
+
+%{
+%}
+
+#include defs.fin
+
+%%
+
+mask {return $MASK_}
+new {return $NEW_}
+slice {return $SLICE_}
+
+#include string.fin
+
+%%