aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authormomumi <57862114+momumi@users.noreply.github.com>2020-03-15 11:37:36 +1000
committermomumi <57862114+momumi@users.noreply.github.com>2020-03-15 12:38:35 +1000
commit7aac21c6f59b70deea6ced617f7b6a550e92bab4 (patch)
treedf02c3553e9c5d66a858c73eaed7b25d723676df /src/main.cpp
parenteb4d313dbc406b37f6bfdd98988c88c3b8ed542e (diff)
downloadzig-7aac21c6f59b70deea6ced617f7b6a550e92bab4.tar.gz
zig-7aac21c6f59b70deea6ced617f7b6a550e92bab4.zip
allow `_` separators in number literals (stage 1)
* Underscores `_` may be placed between two digits in a int/float literal * Consecutive underscores are not allowed * Fixed parsing bug in exponents of hexadecimal float literals. Exponents should always be base 10, but hex characters would be parsed inside the exponent and everything after them would be ignored. eg: `0x1.0p1ab1` would be parsed as `0x1.0p1`.
Diffstat (limited to 'src/main.cpp')
0 files changed, 0 insertions, 0 deletions