Mercurial > hg > index.cgi
diff src/buildkeywordtab.c @ 126:ac183a519439
Update parsing scheme with a keyword lookup by token value and other framework
Add ability to turn a token code into a keyword string. Also correct some
details related to token table generation with some additiona adjustments
for token symbols.
Also rework token symbol definitions and creation of some parsing tables as
well as the main statement parsing loop.
author | William Astle <lost@l-w.ca> |
---|---|
date | Mon, 08 Jan 2024 22:58:08 -0700 |
parents | 8770e6f977c3 |
children | 5d4801c0566d |
line wrap: on
line diff
--- a/src/buildkeywordtab.c Sun Jan 07 20:35:51 2024 -0700 +++ b/src/buildkeywordtab.c Mon Jan 08 22:58:08 2024 -0700 @@ -27,7 +27,7 @@ struct treenode *tn1; int depth = ++treedepth; - fprintf(fp, "parse_wt%d fdb parse_wt%de-parse_wt%d-2\n", depth, depth, depth); + fprintf(fp, "parse_wt%d fdb parse_wt%de-parse_wt%d\n", depth, depth, depth); for (tn1 = tn -> firstchild; tn1; tn1 = tn1 -> nextsibling) {