-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
yylex error when rebuilding lexer.c #1386
Comments
What are your system's flex/bison versions? (Also, are they flex/bison or lex/yacc?) |
@wtlangford see below:
|
@wtlangford it is the newer Flex that is causing the problem:
|
That's... Odd. I would never have found that.
Any idea what specifically broke? Are there maybe some new #defines we need?
…On Sat, Apr 8, 2017, 17:55 Steven Penny ***@***.***> wrote:
@wtlangford <https://github.com/wtlangford> it is the newer Flex that is
causing the problem:
- cygwin 2.6.3 bad
- cygwin 2.6.1 good
- msys2 2.6.3 bad
- msys2 2.6.1 good
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1386 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ADQ4VyIwMRBT7apBAGvKzkNjGqi2H5IXks5ruAJQgaJpZM4M3y2Q>
.
|
@wtlangford see westes/flex#162 - issue has been fixed I think I will close this. It is a Flex issue not a JQ issue. Plus I dont really http://github.com/svnpenn/glade/blob/1cb67d6/jq/install.sh#L6-L7 and removed Flex and Bison from my makefile: http://github.com/svnpenn/glade/blob/1cb67d6/jq/makefile#L4 |
Just patch flex 2.6.3 or downgrade to 2.6.2 https://crux.nu/ports/crux-3.2/core/flex/flex-2.6.3-add_defines.patch |
When my system builds "src/lexer.c" and "src/lexer.h", it adds this line among
others:
This causes a big problem:
As a workaround, I can:
Or:
but all these do is prevent "src/lexer.c" and "src/lexer.h" from being remade.
The text was updated successfully, but these errors were encountered: