summaryrefslogtreecommitdiffstats
path: root/ds9/parsers/numeric.trl
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2018-03-13 19:15:30 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2018-03-13 19:15:30 (GMT)
commitb334d7f6c99078dae9f0ba702a9194f4fd148a77 (patch)
tree14e7d99bb54cfea7d4a86a44720deb28f98356e6 /ds9/parsers/numeric.trl
parentfe4317865abb1017007f1bda915c83c86ccc20e9 (diff)
downloadblt-b334d7f6c99078dae9f0ba702a9194f4fd148a77.zip
blt-b334d7f6c99078dae9f0ba702a9194f4fd148a77.tar.gz
blt-b334d7f6c99078dae9f0ba702a9194f4fd148a77.tar.bz2
update ds9 parsers
Diffstat (limited to 'ds9/parsers/numeric.trl')
-rw-r--r--ds9/parsers/numeric.trl8
1 files changed, 8 insertions, 0 deletions
diff --git a/ds9/parsers/numeric.trl b/ds9/parsers/numeric.trl
new file mode 100644
index 0000000..be68c70
--- /dev/null
+++ b/ds9/parsers/numeric.trl
@@ -0,0 +1,8 @@
+numeric : INT_ {set _ $1}
+ | REAL_ {set _ $1}
+ ;
+
+# | error {
+# yyerror "must be: integer or float"
+# YYABORT
+# }