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

@ -159,11 +159,10 @@ struct hcl_iotok_t
HCL_IOTOK_DOT,
HCL_IOTOK_LPAREN,
HCL_IOTOK_RPAREN,
HCL_IOTOK_APAREN, /* #( */
HCL_IOTOK_APAREN, /* #( */
HCL_IOTOK_BAPAREN, /* #[ */
HCL_IOTOK_QPAREN, /* '( */
HCL_IOTOK_DPAREN, /* #{ */
HCL_IOTOK_LBRACK,
HCL_IOTOK_LBRACK, /* [ */
HCL_IOTOK_RBRACK,
HCL_IOTOK_LBRACE,
HCL_IOTOK_RBRACE,