changed the reader to use a stack of 4-item arrays instead of chains of 3 cons cells

cleaned up some unused code
This commit is contained in:
2018-02-22 10:02:39 +00:00
parent 4876d1775c
commit a78dba499f
6 changed files with 145 additions and 77 deletions

View File

@ -304,7 +304,7 @@ next:
"#(", /*HCL_CONCODE_ARRAY */
"#[", /*HCL_CONCODE_BYTEARRAY */
"#{", /*HCL_CONCODE_DIC */
"'(" /*HCL_CONCODE_QLIST */
"[" /*HCL_CONCODE_QLIST */
};
static hcl_bch_t *closing_paren[] =
@ -313,7 +313,7 @@ next:
")", /*HCL_CONCODE_ARRAY */
"]", /*HCL_CONCODE_BYTEARRAY */
"}", /*HCL_CONCODE_DIC */
")" /*HCL_CONCODE_QLIST */
"]" /*HCL_CONCODE_QLIST */
};
int concode;