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

Only allow $ as prefix operator in export and import and do not look across newlines #11495

Closed
wants to merge 1 commit into from

Conversation

yuyichao
Copy link
Contributor

Fix up #11338

@JeffBezanson The test cases added should work now.

Another difference caused by this PR is that using &a will be parsed as (:call :* (:using :&), :a) instead of a parse error now. This is the same behavior before #11338, has always been the case for using -a, and will be caught by further lowering so it shouldn't be a problem. (Although expand doesn't complain about it and I'm not sure how to add a test for that...)

@yuyichao
Copy link
Contributor Author

P.S. would a slightly more polished version of the parseall function be useful in general? (Or is there alreay one in Base now?)

@yuyichao
Copy link
Contributor Author

Hey this EOFError is happening very often these days...................

I reproduced it locally but still have no idea what's wrong.....

@JeffBezanson
Copy link
Member

Ok I guess we don't need this now, but it would still be good to have the tests.

@yuyichao
Copy link
Contributor Author

yuyichao commented Jun 2, 2015

@JeffBezanson I guess you mean the original issue is already fixed by #11497 .

I'll submit a PR for the test for both then (unless it is already done). Do you think a parseall in base would be useful?

@yuyichao yuyichao mentioned this pull request Jun 3, 2015
@yuyichao yuyichao added the parser Language parsing and surface syntax label Aug 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
parser Language parsing and surface syntax
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants