removed unneeded reader code.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
changed { to #{ as a dictionary opener. { will be used as a block opener
This commit is contained in:
parent
ceaa977d12
commit
f19b971645
@ -186,11 +186,12 @@ enum hcl_iotok_type_t
|
||||
HCL_IOTOK_LPAREN, /* ( */
|
||||
HCL_IOTOK_RPAREN, /* ) */
|
||||
HCL_IOTOK_LPARCOLON, /* (: */
|
||||
HCL_IOTOK_BAPAREN, /* #[ */
|
||||
HCL_IOTOK_QLPAREN, /* #( */
|
||||
HCL_IOTOK_LBRACK, /* [ */
|
||||
HCL_IOTOK_BAPAREN, /* #[ - byte array parenthesis */
|
||||
HCL_IOTOK_QLPAREN, /* #( - quoted-list parenthesis */
|
||||
HCL_IOTOK_DLPAREN, /* #{ - dictionary parenthese */
|
||||
HCL_IOTOK_LBRACK, /* [ - array */
|
||||
HCL_IOTOK_RBRACK, /* ] */
|
||||
HCL_IOTOK_LBRACE, /* { */
|
||||
HCL_IOTOK_LBRACE, /* { - block */
|
||||
HCL_IOTOK_RBRACE, /* } */
|
||||
HCL_IOTOK_VBAR, /* | */
|
||||
HCL_IOTOK_EOL, /* end of line */
|
||||
|
@ -221,7 +221,7 @@ int hcl_fmt_object_ (hcl_fmtout_t* fmtout, hcl_oop_t obj)
|
||||
{ "(:", "(" }, /*HCL_CONCODE_MLIST */
|
||||
{ "[", "[" }, /*HCL_CONCODE_ARRAY */
|
||||
{ "#[", "[" }, /*HCL_CONCODE_BYTEARRAY */
|
||||
{ "{", "{" }, /*HCL_CONCODE_DIC */
|
||||
{ "#{", "{" }, /*HCL_CONCODE_DIC */
|
||||
{ "#(", "[" } /*HCL_CONCODE_QLIST */
|
||||
};
|
||||
|
||||
|
1029
lib/read.c
1029
lib/read.c
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user