aboutsummaryrefslogtreecommitdiff
path: root/lib/lexnum.h
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2015-07-08 20:46:52 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2015-07-08 20:46:52 -0400
commitfa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 (patch)
treebdda434976bc09c864f2e4fa6f16ba1952b1e555 /lib/lexnum.h
downloadiraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz
Initial commit
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