aboutsummaryrefslogtreecommitdiff
path: root/src/tokenizer.cpp
diff options
context:
space:
mode:
authorTetralux <tetralux@teknik.io>2020-12-04 20:17:11 +0000
committerTetralux <tetralux@teknik.io>2020-12-06 11:39:03 +0000
commitc06528d702ba79ae518f6d8f91b371fede0e4d21 (patch)
tree85a7ced27d9a0d85b8150451ad6a6cf79905e944 /src/tokenizer.cpp
parentea60db9f53e9f8d4f3456a6e8eb813a9949a69d3 (diff)
Improve number parsing procedures
- No longer returns true for partial string parsing. All characters in the string must be part of the number. i.e: parse_int("2.345") no longer returns (2, true) - it now returns (2, false) - Return (0, false) on empty strings.
Diffstat (limited to 'src/tokenizer.cpp')
0 files changed, 0 insertions, 0 deletions