Nice/src/bossa/parser Parser.jj,1.316,1.317
Arjan Boeijink <[email protected]>
| Newsgroups | gmane.comp.lang.nice.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/nice/Nice/src/bossa/parser
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22573/F:/nice/src/bossa/parser
Modified Files:
Parser.jj
Log Message:
Implemented binary literals like '0b1111000'.
Index: Parser.jj
===================================================================
RCS file: /cvsroot/nice/Nice/src/bossa/parser/Parser.jj,v
retrieving revision 1.316
retrieving revision 1.317
diff -C2 -d -r1.316 -r1.317
*** Parser.jj 10 Mar 2005 14:08:58 -0000 1.316
--- Parser.jj 11 Mar 2005 21:32:00 -0000 1.317
***************
*** 268,271 ****
--- 268,272 ----
| <HEX_LITERAL> (["l","L"])?
| <OCTAL_LITERAL> (["l","L"])?
+ | <BIN_LITERAL> (["l","L"])?
>
|
***************
*** 275,278 ****
--- 276,282 ----
|
< #OCTAL_LITERAL: "0" (["0"-"7","_"])* >
+ |
+ < #BIN_LITERAL: "0" ["b","B"] (["0","1","_"])+ >
+
}
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click