Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

line count (error message) #15

Open
MikhailMarchenko opened this issue Aug 14, 2017 · 2 comments
Open

line count (error message) #15

MikhailMarchenko opened this issue Aug 14, 2017 · 2 comments
Assignees

Comments

@MikhailMarchenko
Copy link

MikhailMarchenko commented Aug 14, 2017

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

@yosymfony yosymfony self-assigned this Aug 19, 2017
@pfefffer
Copy link

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

@yosymfony
Copy link
Owner

yes, it will be included in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants