diff options
| author | kartofen <kartofen.mail.0@protonmail.com> | 2025-06-30 19:51:44 +0300 |
|---|---|---|
| committer | kartofen <kartofen.mail.0@protonmail.com> | 2025-06-30 19:51:44 +0300 |
| commit | 3f3ad468ba6847f75717927f30a91fb82e70f7c9 (patch) | |
| tree | 41551b3955d5de311210c1d74b5f0c6b0642c2f4 /slr-table.c | |
| parent | dfc868beff4ae942f007ce53e932090a830dfa50 (diff) | |
minimal lr parser
Diffstat (limited to 'slr-table.c')
| -rw-r--r-- | slr-table.c | 7 |
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 |
