Refactoring of idl_parser (#4948)
authorVladimir Glavnyy <31897320+vglavnyy@users.noreply.github.com>
Thu, 11 Oct 2018 17:37:47 +0000 (00:37 +0700)
committerWouter van Oortmerssen <aardappel@gmail.com>
Thu, 11 Oct 2018 17:37:47 +0000 (10:37 -0700)
commit4ed6fafdfa5689d72e821baec522a9d03ee6d652
treeace83b909c40043f8a0d2776b3b184085b49ebb7
parent53ce80ce916d3cb1e3b28562cc2a27229e8afea7
Refactoring of idl_parser (#4948)

* Refactoring of numbers parser

More accurate parse of float and double.
Hexadecimal floats.
Check "out-of-range" of uint64 fields.
Check correctness of default values and metadata.

* Remove locale-independent code strtod/strtof from PR #4948.

* small optimization

* Add is_(ascii) functions

* is_ascii cleanup

* Fix format conversation

* Refine number parser

* Make code compatible with Android build

* Remove unnecessary suppression of warning C4127
.gitignore
docs/source/Grammar.md
docs/source/Schemas.md
include/flatbuffers/base.h
include/flatbuffers/idl.h
include/flatbuffers/stl_emulation.h
include/flatbuffers/util.h
src/idl_gen_cpp.cpp
src/idl_gen_text.cpp
src/idl_parser.cpp
tests/test.cpp