aboutsummaryrefslogtreecommitdiff
path: root/lib/lexnum.h
diff options
context:
space:
mode:
authorJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
committerJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
commit40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch)
tree4464880c571602d54f6ae114729bf62a89518057 /lib/lexnum.h
downloadiraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'lib/lexnum.h')
-rw-r--r--lib/lexnum.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/lexnum.h b/lib/lexnum.h
new file mode 100644
index 00000000..a2742a2a
--- /dev/null
+++ b/lib/lexnum.h
@@ -0,0 +1,7 @@
+# LEXNUM.H -- Token codes returned by lexnum.
+
+define LEX_OCTAL -4 # reduce octal
+define LEX_DECIMAL -3 # reduce decimal
+define LEX_HEX -2 # reduce hex
+define LEX_REAL -1 # reduce real
+define LEX_NONNUM 0 # reduce non-numeric