summaryrefslogtreecommitdiff
path: root/opfuncs.h
diff options
context:
space:
mode:
Diffstat (limited to 'opfuncs.h')
-rw-r--r--opfuncs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/opfuncs.h b/opfuncs.h
new file mode 100644
index 0000000..a5e212c
--- /dev/null
+++ b/opfuncs.h
@@ -0,0 +1,8 @@
+#pragma once
+
+int precedence(const char *op);
+int precedence_len(const char *op,const int len);
+int associativity(const char *op);
+int associativity_len(const char *op,const int len);
+int parseoplength(const char *op);
+const char* opconststring_len(const char *op,const int len);