You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
yes, it does fix perfectly the issue on my end. I was wondering: this is not a regression on some other parts of bnfc here? I mean: Probably there was a reason why this had been written this way in the first place? Anyway: using this specific version of the bnfc tool fixes my problem and I don't need to add special overwrites for my code to work.
I think it was just a bug introduced in 2.9.2.
You can also try out 2.9.1.1 (a re-release of 2.9.1 I made yesterday as 2.9.1 did not compile anymore).
There, you should also get the correct entrypoints (for STL, maybe not for NoSTL).
Yes, I definitely confirm that. Using the version 2.9.1.1 works like a charm, 2.9.2 has the issue and clearly this new version, 2.9.6.2 works like a charm as well.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C++entrypointsConcerning entry points for the parser and the `entrypoints` directiveregression in 2.9.2Regression that first appeared in BNFC 2.9.2
2 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix C++ backend: Parser.H declares pX(const char*) but implementation defines psX(const char*) #524: overloaded function for file/string entrypoint (as in 2.9.1)
Closes C++ backend: Parser.H declares pX(const char*) but implementation defines psX(const char*) #524
Fix C++ backend: Parser.H declares pX(const char*) but implementation defines psX(const char*) #524/nostl: missing declaration of string entrypoint in Parser.H file