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

Generated C code has strings broken by newlines #2

Open
ReGuess opened this issue Oct 9, 2020 · 2 comments
Open

Generated C code has strings broken by newlines #2

ReGuess opened this issue Oct 9, 2020 · 2 comments

Comments

@ReGuess
Copy link

ReGuess commented Oct 9, 2020

As the title says. The source of the issue is in titablegen.py#L257, where the multi-line string lacks an r prefix.

ReGuess added a commit to ReGuess/TITokens that referenced this issue Oct 9, 2020
@elfprince13
Copy link
Owner

Can you given an example of an input that triggers this issue?

@ReGuess
Copy link
Author

ReGuess commented Oct 12, 2020

Simply running the provided build.sh file with any xml file from merth's TokenIDE repo.
If it helps, here's the versions of the tools I'm using:

lex --version: flex 2.6.4
gcc --version: gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
python2 --version: Python 2.7.17

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