toml icon indicating copy to clipboard operation
toml copied to clipboard

line count (error message)

Open MikhailMarchenko opened this issue 6 years ago • 2 comments

# 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)

MikhailMarchenko avatar Aug 14 '17 06:08 MikhailMarchenko

What about this? For me, it is crucial that the user gets correct hints where to look for the error

pfefffer avatar Mar 25 '18 20:03 pfefffer

yes, it will be included in the next release.

yosymfony avatar Apr 05 '18 21:04 yosymfony