-
Notifications
You must be signed in to change notification settings - Fork 445
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
Fix undefined behavior in p4parser.ypp #664
Fix undefined behavior in p4parser.ypp #664
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for taking care of this. I can confirm that it fixes the issue.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is very sad, when you have to expend so much energy to assign a Boolean value. I still like Java better than c++.
I like most languages better than C++. =) In fairness, in this particular case the root cause is a bug in Bison's variant implementation. They should've just used boost's version instead of reinventing the wheel. |
I'm hearing two votes for rewriting the compiler in OCaml?
…On Wed, May 24, 2017 at 8:03 PM Seth Fowler ***@***.***> wrote:
I like most languages better than C++. =)
In fairness, in this particular case the root cause is a bug in Bison's
variant implementation. They should've just used boost's version instead of
reinventing the wheel.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#664 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABwi0tEv6CqdOQ65rjUTcY_RCvREWhO6ks5r9O94gaJpZM4Nl4pC>
.
|
We can do F# if @mbudiu-vmw prefers...
…On Wed, May 24, 2017 at 8:22 PM Nate Foster ***@***.***> wrote:
I'm hearing two votes for rewriting the compiler in OCaml?
On Wed, May 24, 2017 at 8:03 PM Seth Fowler ***@***.***>
wrote:
> I like most languages better than C++. =)
>
> In fairness, in this particular case the root cause is a bug in Bison's
> variant implementation. They should've just used boost's version instead of
> reinventing the wheel.
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <#664 (comment)>, or mute
> the thread
> <https://github.com/notifications/unsubscribe-auth/ABwi0tEv6CqdOQ65rjUTcY_RCvREWhO6ks5r9O94gaJpZM4Nl4pC>
> .
>
|
+1 for OCaml |
Just imagine how much easier our lives would be if p4c was implemented in LabVIEW. |
This PR fixes a (harmless) instance of undefined behavior in
p4parser.ypp
. See the comment in the patch for more details.