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 directive is output even when %option noline is used #463

Open
RobL371 opened this issue Oct 17, 2020 · 1 comment
Open

#line directive is output even when %option noline is used #463

RobL371 opened this issue Oct 17, 2020 · 1 comment

Comments

@RobL371
Copy link

RobL371 commented Oct 17, 2020

When adding this to a lex file:

%option noline
%top{
    #include <cstdint>
}

or, equivalently, using -L on the commant line, the output file will always include #line for the %top section.

@fatfatson
Copy link

confirm it's still existing

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

2 participants