diff options
author | Sven Gothel <[email protected]> | 2015-03-25 12:45:41 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2015-03-25 12:45:41 +0100 |
commit | d30a3ea54e26978d6ff199cba0fd79c5c0cef483 (patch) | |
tree | e772b1e8acf627e2e7ad4bec56148f75dd5e7d7b /LICENSE.txt | |
parent | 6058af19f2929a39deb0dbcc48040a4bb53bb559 (diff) |
Bug 1149: Fix parsing of hexadecimal w/ binary exponent floats in regexp-constant and java-parser. (Due to PCPP -> JCPP)
Lack of parsing binary exponent floats is exposed due to using JCPP
and correct constant-definitions.
- JavaParser.g:
- Add support for hexadecimal w/ binary exponent floats
- TAB -> 4 spaces
- ConstantDefinition.java:
- Add RegExp 'fpRegexp', patternDecimalNumber:
decimal number w/ support for hexadecimal w/ binary exponent floats.
- isDecimalNumber(..): Use patternDecimalNumber
instead of try-and-error (NumberFormatException)
- patternCPPOperand: exclude patternDecimalNumber!
- JavaEmitter.java:
- Respect explicit suffix [dD] for double type.
- Drop floating point suffixes [fF]
- Test: Added tests for hexadecimal w/ binary exponent floats
Diffstat (limited to 'LICENSE.txt')
0 files changed, 0 insertions, 0 deletions