-
Notifications
You must be signed in to change notification settings - Fork 12
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
Segfault when executing the testsuite #1
Comments
Also there is several memory leaks when executing |
WRT wide chars here is a version of Coco-R converted to use |
Some grammars like CSharp allow utf-8 identifiers, how would you parser then ? |
Yes, the parser would need modifying for that. - I have only used Coco-R in multibyte/ Does the parser work for UTF-16 with >1 code per encoding? If not it doesn't support the UTF-16 properly anyway? |
I've add a simple AST generation and fixes several memory leaks (still there is others) and would be nice if someone could try it and give feedback, it's based on the implementation done here https://github.com/rochus-keller/EbnfStudio. Here is the skeleton to try it:
|
When trying to execute the testsuite
CocoR
segfault due to havefwprintf
format expectingwchar_t*
but the parameter ischar*
see a hack/patch that allow it to execute the testsuite:The text was updated successfully, but these errors were encountered: