@@ -463,7 +463,7 @@ pub fn (mut p Parser) root_table() ? {
463
463
util.printdbg (@MOD + '.' + @STRUCT + '.' + @FN, 'skipping formatting "$p.tok.kind " "$p.tok.lit "' )
464
464
continue
465
465
}
466
- .bare, .quoted, .boolean, . number, .minus, .underscore { // NOTE .boolean allows for use of "true" and "false" as table keys
466
+ .bare, .quoted, .number, .minus, .underscore {
467
467
// Peek forward as far as we can skipping over space formatting tokens.
468
468
peek_tok , _ := p.peek_over (1 , parser.keys_and_space_formatting) ?
469
469
@@ -652,7 +652,7 @@ pub fn (mut p Parser) table_contents(mut tbl map[string]ast.Value) ? {
652
652
util.printdbg (@MOD + '.' + @STRUCT + '.' + @FN, 'skipping formatting "$p.tok.kind " "$p.tok.lit "' )
653
653
continue
654
654
}
655
- .bare, .quoted, .boolean, . number, .minus, .underscore { // NOTE .boolean allows for use of "true" and "false" as table keys
655
+ .bare, .quoted, .number, .minus, .underscore {
656
656
// Peek forward as far as we can skipping over space formatting tokens.
657
657
peek_tok , _ := p.peek_over (1 , parser.keys_and_space_formatting) ?
658
658
@@ -735,7 +735,7 @@ pub fn (mut p Parser) inline_table(mut tbl map[string]ast.Value) ? {
735
735
// '}' bracket
736
736
return
737
737
}
738
- .bare, .quoted, .boolean, . number, .minus, .underscore {
738
+ .bare, .quoted, .number, .minus, .underscore {
739
739
// Peek forward as far as we can skipping over space formatting tokens.
740
740
peek_tok , _ := p.peek_over (1 , parser.space_formatting) ?
741
741
@@ -836,7 +836,7 @@ pub fn (mut p Parser) array_of_tables_contents() ?[]ast.Value {
836
836
util.printdbg (@MOD + '.' + @STRUCT + '.' + @FN, 'parsing token "$p.tok.kind "' )
837
837
838
838
match p.tok.kind {
839
- .bare, .quoted, .boolean, . number, .minus, .underscore {
839
+ .bare, .quoted, .number, .minus, .underscore {
840
840
// Peek forward as far as we can skipping over space formatting tokens.
841
841
peek_tok , _ := p.peek_over (1 , parser.space_formatting) ?
842
842
@@ -972,7 +972,7 @@ pub fn (mut p Parser) double_array_of_tables_contents(target_key DottedKey) ?[]a
972
972
}
973
973
974
974
match p.tok.kind {
975
- .bare, .quoted, .boolean, . number, .minus, .underscore {
975
+ .bare, .quoted, .number, .minus, .underscore {
976
976
// Peek forward as far as we can skipping over space formatting tokens.
977
977
peek_tok , _ = p.peek_over (1 , parser.space_formatting) ?
978
978
0 commit comments