aboutsummaryrefslogtreecommitdiff
path: root/slr-table.c
diff options
context:
space:
mode:
Diffstat (limited to 'slr-table.c')
-rw-r--r--slr-table.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/slr-table.c b/slr-table.c
index 2454a65..39e95ae 100644
--- a/slr-table.c
+++ b/slr-table.c
@@ -235,6 +235,13 @@ void table_print()
else printf(" ");
printf("\n");
}
+
+ // for(size_t i = 0; i < table_states; i++) {
+ // printf("{");
+ // for(size_t sym = 0; sym < total_symbols; sym++)
+ // printf("{%d, %d},", table[i][sym].type, table[i][sym].arg);
+ // printf("},\n");
+ // }
}
#ifdef _SLR_TABLE_STANDALONE