Skip to content

Commit

Permalink
toml: fix typo in parser.v (#16430)
Browse files Browse the repository at this point in the history
  • Loading branch information
eltociear committed Nov 14, 2022
1 parent 58cee6c commit 56239b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vlib/toml/parser/parser.v
Original file line number Diff line number Diff line change
Expand Up @@ -773,7 +773,7 @@ pub fn (mut p Parser) inline_table(mut tbl map[string]ast.Value) ! {
return error(@MOD + '.' + @STRUCT + '.' + @FN +
' unexpected "$p.tok.kind" "$p.tok.lit" at this (excerpt): "...${p.excerpt()}..."')
}
util.printdbg(@MOD + '.' + @STRUCT + '.' + @FN, 'skipping comma table value seperator "$p.tok.lit"')
util.printdbg(@MOD + '.' + @STRUCT + '.' + @FN, 'skipping comma table value separator "$p.tok.lit"')
continue
}
.rcbr {
Expand Down Expand Up @@ -1109,7 +1109,7 @@ pub fn (mut p Parser) array() ![]ast.Value {
return error(@MOD + '.' + @STRUCT + '.' + @FN +
' unexpected "$p.tok.kind" "$p.tok.lit" at this (excerpt): "...${p.excerpt()}..."')
}
util.printdbg(@MOD + '.' + @STRUCT + '.' + @FN, 'skipping comma table value seperator "$p.tok.lit"')
util.printdbg(@MOD + '.' + @STRUCT + '.' + @FN, 'skipping comma table value separator "$p.tok.lit"')
continue
}
.eof {
Expand Down

0 comments on commit 56239b4

Please sign in to comment.