summaryrefslogtreecommitdiff
path: root/support/ltx2x/l2xicpr.h
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /support/ltx2x/l2xicpr.h
Initial commit
Diffstat (limited to 'support/ltx2x/l2xicpr.h')
-rw-r--r--support/ltx2x/l2xicpr.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/support/ltx2x/l2xicpr.h b/support/ltx2x/l2xicpr.h
new file mode 100644
index 0000000000..4a687fd804
--- /dev/null
+++ b/support/ltx2x/l2xicpr.h
@@ -0,0 +1,38 @@
+/* l2xicpr.h before/after token codes for parser */
+
+#ifndef l2xicpr_h
+#define l2xicpr_h
+
+#ifndef licomsym_h
+#include "licomsym.h" /* this includes the definition of token codes */
+#endif
+
+/* here are the before/after token code lists */
+extern TOKEN_CODE statement_start_list[];
+extern TOKEN_CODE statement_end_list[];
+extern TOKEN_CODE declaration_start_list[];
+extern TOKEN_CODE follow_indexes_list[];
+extern TOKEN_CODE follow_header_list[];
+extern TOKEN_CODE follow_parms_list[];
+extern TOKEN_CODE follow_proc_id_list[];
+extern TOKEN_CODE follow_func_id_list[];
+extern TOKEN_CODE follow_parm_list[];
+extern TOKEN_CODE follow_decls_list[];
+extern TOKEN_CODE follow_expr_list[];
+extern TOKEN_CODE case_label_start_list[];
+extern TOKEN_CODE follow_case_label_list[];
+extern TOKEN_CODE ltx2x_follow_decls_list[];
+extern TOKEN_CODE follow_attributes_list[];
+extern TOKEN_CODE follow_min_bound_list[];
+
+ /* lists of operators */
+extern TOKEN_CODE rel_op_list[];
+extern TOKEN_CODE add_op_list[];
+extern TOKEN_CODE mult_op_list[];
+
+ /* lists of types, constants, ... */
+extern TOKEN_CODE simple_type_list[];
+extern TOKEN_CODE constant_list[];
+extern TOKEN_CODE aggregation_type_list[];
+
+#endif