Integer literal lexing error

Issue #185 resolved
Jesper Öqvist created an issue

The integer literal 0xCE-256 is not correctly tokenized by ExtendJ 8.0.1-151-g5196a27 Java SE 8:

tests/lex/num_16p/,0: error: in hexadecimal literal "0xCE-256": unexpected character '-'; not a valid digit

Comments (1)

  1. Jesper Öqvist reporter

    Fix error in numeric literal lexing

    This fixes a problem in lexing hexadecimal literals too aggressively, causing for example the following subtraction to be tokenized as a numeric literal: "0xE-1".

    fixes #185 (bitbucket)

    → <<cset bd2ae9b74208>>

  2. Log in to comment