mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
toml: clearly mark the workaround [manualfree] tags with [autofree_bug; manualfree]
, so they can be found/removed when -autofree is fixed
This commit is contained in:
parent
ffd9b9bae1
commit
968435fca6
@ -819,7 +819,7 @@ pub fn (mut p Parser) inline_table(mut tbl map[string]ast.Value) ! {
|
||||
}
|
||||
|
||||
// array_of_tables parses next tokens into an array of `ast.Value`s.
|
||||
[manualfree]
|
||||
[autofree_bug; manualfree]
|
||||
pub fn (mut p Parser) array_of_tables(mut table map[string]ast.Value) ! {
|
||||
util.printdbg(@MOD + '.' + @STRUCT + '.' + @FN, 'parsing array of tables "$p.tok.kind" "$p.tok.lit"')
|
||||
// NOTE this is starting to get ugly. TOML isn't simple at this point
|
||||
@ -890,7 +890,7 @@ pub fn (mut p Parser) array_of_tables_contents() ![]ast.Value {
|
||||
}
|
||||
|
||||
// double_array_of_tables parses next tokens into an array of tables of arrays of `ast.Value`s...
|
||||
[manualfree]
|
||||
[autofree_bug; manualfree]
|
||||
pub fn (mut p Parser) double_array_of_tables(mut table map[string]ast.Value) ! {
|
||||
util.printdbg(@MOD + '.' + @STRUCT + '.' + @FN, 'parsing nested array of tables "$p.tok.kind" "$p.tok.lit"')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user