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

Wrong column numbers #189

Open
martin-t opened this issue May 25, 2019 · 0 comments
Open

Wrong column numbers #189

martin-t opened this issue May 25, 2019 · 0 comments

Comments

@martin-t
Copy link

The column numbers reported in error messages are sometimes wrong and sometimes they depend on previous lines. Examples compiled with ./gmqcc -std=gmqcc file.qc -o out.dat:

A file with this one line:

typedef float INT-;

reports error (error: expected semicolon after typedef) on line 1, column 12 (which is inside the float word).

Adding a line before it:

int x;
typedef float INT-;

causes the reported error to be on line 2, column 14 (at the end of float).

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

1 participant