Vladimir Glavnyy
0e453ac352
[idl_parser] Add kTokenNumericConstant token ( #6432 )
...
* [idl_parser] Add kTokenNumericConstant token
This commit adds the new token for correct parsing of signed numeric constants.
Before this expressions `-nan` or `-inf` were treated as kTokenStringConstant.
This was ambiguous if a real string field parsed.
For example, `{ "text_field" : -name }` was accepted by the parser as valid JSON object.
Related oss-fuzz issue: 6200301176619008
* Add additional positive tests fo 'inf' and 'nan' as identifiers
* Rebase to HEAD
* Move processing of signed constants to ParseSingleValue method.
* Add missed `--cpp-static-reflection` (#6324 ) to pass CI
* Remove `flatbuffers.pc` from repository to unblock CI (#6455 ).
Probably the generated flatbuffers.pc should not be a part of repo.
* Fix FieldIdentifierTest()
2021-03-11 11:12:06 -08:00
..
2021-03-05 10:01:40 -08:00
2021-02-23 08:51:39 +03:00
2020-10-12 12:24:18 -07:00
2019-02-21 23:36:55 +01:00
2021-01-02 11:46:46 +03:00
2021-02-23 11:30:07 -08:00
2021-03-09 10:56:06 +03:00
2021-01-30 21:43:31 +07:00
2021-01-26 11:09:29 -05:00
2021-03-04 12:12:44 -08:00
2021-02-23 11:30:07 -08:00
2021-03-04 12:12:44 -08:00
2021-03-04 12:12:44 -08:00
2020-01-06 10:00:59 -08:00
2021-02-24 13:00:18 -05:00
2021-03-04 12:12:44 -08:00
2021-03-04 12:12:44 -08:00
2020-12-07 11:19:36 -08:00
2020-09-11 14:20:32 -07:00
2019-08-23 10:46:47 -07:00
2019-08-23 10:46:47 -07:00
2021-02-10 11:45:34 -08:00
2021-02-11 10:16:57 -08:00
2021-01-07 14:51:52 -08:00
2021-03-06 22:28:27 +07:00
2021-03-05 10:01:40 -08:00
2021-01-07 11:54:00 -08:00
2020-05-07 14:11:26 -07:00
2021-01-07 11:54:00 -08:00
2021-01-19 12:51:13 -08:00
2021-01-19 12:51:13 -08:00
2021-01-19 12:51:13 -08:00
2019-02-21 19:50:13 +01:00
2019-10-17 15:16:40 -07:00
2020-10-26 17:46:50 -07:00
2020-10-26 17:46:50 -07:00
2020-10-22 13:36:02 -07:00
2020-06-22 17:08:35 -07:00
2020-10-22 13:36:02 -07:00
2018-07-05 15:55:57 -07:00
2019-11-14 15:46:46 -08:00
2019-08-01 10:28:54 -07:00
2020-12-07 11:19:36 -08:00
2020-01-23 14:53:58 -08:00
2020-01-23 14:53:58 -08:00
2021-01-12 14:06:43 -05:00
2021-01-07 11:24:59 -08:00
2021-01-07 11:24:59 -08:00
2021-01-07 11:24:59 -08:00
2021-03-01 12:34:01 -08:00
2021-03-04 12:12:44 -08:00
2018-09-21 09:42:43 -07:00
2018-10-22 15:41:12 -07:00
2021-01-07 14:51:52 -08:00
2021-01-12 14:06:43 -05:00
2021-01-12 14:06:43 -05:00
2018-11-29 10:33:17 -08:00
2018-11-29 10:33:17 -08:00
2021-02-10 11:45:34 -08:00
2019-07-08 11:22:56 -07:00
2021-01-07 11:54:00 -08:00
2019-07-26 11:06:25 -07:00
2019-07-26 09:13:11 -07:00
2021-01-07 11:24:59 -08:00
2021-01-07 11:24:59 -08:00
2021-02-12 09:41:10 -05:00
2021-02-12 09:41:10 -05:00
2020-12-07 11:19:36 -08:00
2019-11-07 12:22:54 -08:00
2019-11-07 12:22:54 -08:00
2019-08-01 14:31:48 -07:00
2020-12-07 11:19:36 -08:00
2020-10-22 13:36:02 -07:00
2021-02-07 16:51:33 -05:00
2020-10-22 13:36:02 -07:00
2021-01-19 12:51:13 -08:00
2018-10-15 16:55:59 -07:00
2017-08-11 09:24:36 -07:00
2017-08-11 09:24:36 -07:00
2020-05-07 14:26:33 -07:00
2021-01-28 12:35:37 -08:00
2021-01-28 12:35:37 -08:00
2020-05-07 14:11:26 -07:00
2021-03-01 13:51:22 -08:00
2020-03-02 10:15:23 -08:00
2019-12-13 10:14:14 -08:00
2020-03-02 10:15:23 -08:00
2019-12-23 12:13:48 -08:00
2021-03-11 11:12:06 -08:00
2021-01-19 12:51:13 -08:00
2021-01-19 12:51:13 -08:00
2021-01-19 12:51:13 -08:00
2021-01-19 12:51:13 -08:00
2019-10-10 15:25:39 -07:00