ericmckean / traceur-compiler

Automatically exported from code.google.com/p/traceur-compiler
Apache License 2.0
0 stars 0 forks source link

Add support for binary and octal number literals #94

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Section 7.8.3 in the latest draft

BinaryIntegerLiteral ::
  0b BinaryDigit
  0B BinaryDigit
  BinaryIntegerLiteral BinaryDigit

BinaryDigit :: one of
  0 1

OctalIntegerLiteral ::
  0o OctalDigit
  0O OctalDigit
  OctalIntegerLiteral OctalDigit

OctalDigit :: one of
  0 1 2 3 4 5 6 7

Original issue reported on code.google.com by erik.arv...@gmail.com on 6 May 2012 at 10:45