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 numbers are wrong in many cases #17

Closed
benkasminbullock opened this issue Apr 19, 2017 · 1 comment
Closed

Line numbers are wrong in many cases #17

benkasminbullock opened this issue Apr 19, 2017 · 1 comment

Comments

@benkasminbullock
Copy link
Owner

#include "ok-arg.h"

int funkyfunc (int x)

in link-arg.c results in

#line 4 "link-arg.c"
int funkyfunc (int x );

in the output, obviously off by one.

@benkasminbullock
Copy link
Owner Author

The specific tested issue was resolved with this commit:

commit 1a02969
Author: Ben Bullock benkasminbullock@gmail.com
Date: Sat Apr 29 09:41:15 2017 +0900

Discard yylineno and calculate line numbers itself

Further issues with the line numbers can be entered as necessary.

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