summaryrefslogtreecommitdiff
path: root/hdr/keyword.hh
diff options
context:
space:
mode:
Diffstat (limited to 'hdr/keyword.hh')
-rw-r--r--hdr/keyword.hh14
1 files changed, 14 insertions, 0 deletions
diff --git a/hdr/keyword.hh b/hdr/keyword.hh
new file mode 100644
index 0000000000..df4547ad76
--- /dev/null
+++ b/hdr/keyword.hh
@@ -0,0 +1,14 @@
+/* for the keyword table */
+struct Keyword_ent
+{
+ const char *name;
+ int tokcode;
+};
+
+struct Keyword_table
+{
+ Keyword_ent *table;
+ int maxkey;
+ Keyword_table(Keyword_ent *);
+ int lookup(const char *s) const;
+};