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

extract params and v3.10.5 #224

Closed
m1n1vv opened this issue Dec 30, 2017 · 3 comments
Closed

extract params and v3.10.5 #224

m1n1vv opened this issue Dec 30, 2017 · 3 comments

Comments

@m1n1vv
Copy link

m1n1vv commented Dec 30, 2017

Now Pawno does not work correctly with "extract params" in use sscanf

#define extract%0->%1; EXTRN%1;unformat(_:EXTRZ:EXTRV:EXTRX:%0,##,%1,,);

error 017: undefined symbol "is"

@Y-Less
Copy link
Member

Y-Less commented Dec 30, 2017

Ahh - it will be the ## in the code. I did raise concerns about backwards-compatibility with strings using double # in an old issue and the pull request, but they were apparently ignored...

@Y-Less
Copy link
Member

Y-Less commented Dec 30, 2017

Changing the macro to use something like ""# should work, but is not ideal.

maddinat0r added a commit to Y-Less/sscanf that referenced this issue Dec 31, 2017
Zeex' PAWN fork version 3.10.5 introduced a concatenation operator
(pawn-lang/compiler#205), which breaks the extract macro (pawn-lang/compiler#224).
This commit should fix that problem. Also resolves #16.
@stale
Copy link

stale bot commented Oct 26, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the state: stale label Oct 26, 2018
@m1n1vv m1n1vv closed this as completed Aug 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants