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

Accidental token pasting #2

Open
paulross opened this issue Sep 14, 2017 · 0 comments
Open

Accidental token pasting #2

paulross opened this issue Sep 14, 2017 · 0 comments
Assignees

Comments

@paulross
Copy link
Owner

The preprocessor can be coerced into accidentally pasting tokens to create significant other tokens. For example:

#define PLUS  
 PLUS

This should produce not .

There are some xfailing tests in tests/unit/test_core/test_PpLexer.py. Search for @pytest.mark.xfail(reason='Need to fix accidental token pasting.')

Some links:

@paulross paulross self-assigned this Sep 14, 2017
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

1 participant