Euphoria Ticket #435: tokenize.e does not parse 0?NNNN numbers

i.e. 0x012 will return T_NUMBER (0), T_IDENTIFIER (x012)

Details

Type: Bug Report Severity: Normal Category: Library Routine
Assigned To: jeremy Status: Fixed Reported Release: 4274
Fixed in SVN #: 4276,4278 View VCS: 4276, 4278 Milestone: 4.0.0RC2

1. Comment by jimcbrown Nov 23, 2010

Should it? Euphoria doesn't support numbers in this format either, instead relying on #12 to mean 18.

2. Comment by jeremy Nov 23, 2010

Euphoria supports:

  • 0b010101 (binary)
  • 0t0170 (octal)
  • 0d0192 (decimal)
  • 0x129F (hex)

3. Comment by jeremy Nov 23, 2010

See: man:lang_def.html#atomsandsequences

4. Comment by jeremy Nov 23, 2010

Fixed, see svn:4278 for details.

Search



Quick Links

User menu

Not signed in.

Misc Menu