[dylan-lang/melange] db1094: Insert empty token for empty macro arguments.
GitHub <[email protected]> Wed, 07 Oct 2015 07:23:07 -0700
| Newsgroups | gmane.comp.lang.dylan.gwydion.cvs |
|---|---|
| Message-ID | <56152acb293bb_1b9b3f961ac4f2bc4008d@hookshot-fe3-cp1-prd.iad.github.net.mail> |
Branch: refs/heads/master
Home: https://github.com/dylan-lang/melange
Commit: db1094ac04aeb7d51a5bd735b6bafbb7aea29307
https://github.com/dylan-lang/melange/commit/db1094ac04aeb7d51a5bd735b6bafbb7aea29307
Author: Wim Vander Schelden <[email protected]>
Date: 2015-09-30 (Wed, 30 Sep 2015)
Changed paths:
M melange-core/c-lexer-cpp.dylan
M melange-core/c-lexer.dylan
M melange-core/library.dylan
A tests/test.empty-macro-arg/empty-macro-arg.h
A tests/test.empty-macro-arg/expected.dylan
A tests/test.empty-macro-arg/test.intr
Log Message:
-----------
Insert empty token for empty macro arguments.
This prevents the concatenation operator (##) from erroneously
consuming the next token when trying to concatenate an empty
macro argument with some prefix.
Needed for parsing math.h/mathcalls.h on Linux, fixes #27.
Commit: b68e5f80ca69f4558505e25b1d9a8a3acd25b366
https://github.com/dylan-lang/melange/commit/b68e5f80ca69f4558505e25b1d9a8a3acd25b366
Author: Bruce Mitchener <[email protected]>
Date: 2015-10-07 (Wed, 07 Oct 2015)
Changed paths:
M melange-core/c-lexer-cpp.dylan
M melange-core/c-lexer.dylan
M melange-core/library.dylan
A tests/test.empty-macro-arg/empty-macro-arg.h
A tests/test.empty-macro-arg/expected.dylan
A tests/test.empty-macro-arg/test.intr
Log Message:
-----------
Merge pull request #29 from wvdschel/master
Insert empty token for empty macro arguments.
Compare: https://github.com/dylan-lang/melange/compare/51143c5029d3...b68e5f80ca69
_______________________________________________
chatter mailing list
[email protected]
https://lists.opendylan.org/mailman/listinfo/chatter