toml
toml copied to clipboard
line count (error message)
# Global tags can be specified here in key="value" format.
[global_tags] #fghfgh
# dc
[[agent1.edfgdfg]] #dfgdfgd
[[agent1.edfgdfg]] #dfgdfg
[[agent1.edfgdfg]] #dfgdfgdf
[[agent1.edfgdfg]] #dfgdfgdf
got expected error, but line number is invalid:
Syntax error: the table agent1.edfgdfg has already been defined at line 0 (near "]")
$this->processComment();
finds comment after line and move to EOF or \n and do not increase $this->currentLine
because after that it takes token again (after switch-case)
(Parser.php lines: 53 => 107 => 114 => 99)
What about this? For me, it is crucial that the user gets correct hints where to look for the error
yes, it will be included in the next release.