[dylan-lang/melange] f0bb90: Support binary integer literals.
GitHub <[email protected]> Fri, 25 Sep 2015 06:34:32 -0700
| Newsgroups | gmane.comp.lang.dylan.gwydion.cvs |
|---|---|
| Message-ID | <56054d68cdb26_35033f83bde852bc101641@hookshot-fe4-cp1-prd.iad.github.net.mail> |
Branch: refs/heads/master
Home: https://github.com/dylan-lang/melange
Commit: f0bb9063fa24a775884f3d1b3dc7a110acca1cc0
https://github.com/dylan-lang/melange/commit/f0bb9063fa24a775884f3d1b3dc7a110acca1cc0
Author: Bruce Mitchener <[email protected]>
Date: 2015-09-25 (Fri, 25 Sep 2015)
Changed paths:
M melange-core/c-lexer.dylan
M tests/test.constants/constants.h
M tests/test.constants/expected.dylan
Log Message:
-----------
Support binary integer literals.
These have been a gcc extension, but are now valid in C++14 so
might be more common in the wild.
* melange-core/c-lexer
(value on <integer-literal-token>): Update to handle 0b.
(match-literal): Update to handle binary literals.
* tests/test.constants: Update.
_______________________________________________
chatter mailing list
[email protected]
https://lists.opendylan.org/mailman/listinfo/chatter