Commit Graph

287 Commits

Author SHA1 Message Date
yhirose
82fd01f3d1 Allow more than one instruction 2022-04-02 08:10:39 -04:00
yhirose
b85606ce2e Performance improvement 2022-01-06 22:59:24 -05:00
yhirose
578eec705c Fix #187 2022-01-03 11:23:41 -05:00
yhirose
4d67d96d7a Changed parse_error to derive from std::runtime_error 2021-10-11 00:36:51 -04:00
SpaceIm
780bbe5d6c
Fix https://github.com/yhirose/cpp-peglib/issues/167 (#168) 2021-04-07 10:05:17 -04:00
yhirose
73242b26c4 Revert "Fix #167"
This reverts commit ef10e7c5dd.
2021-04-07 08:54:42 -04:00
yhirose
ef10e7c5dd Fix #167 2021-04-07 08:44:53 -04:00
yhirose
a9f7572a6c Fixed Infinite loop 9 problem 2021-03-30 20:59:17 -04:00
Elliot
3d68799d9c
fix #162 (#163)
* fix unreachable code warning when <charconv> header is present

* update macro name
2021-03-30 14:28:44 -04:00
yhirose
b5ee8c19df Fix #161 2021-03-29 14:25:11 -04:00
yhirose
b491a20c2a Fix #159 2021-03-28 15:57:02 -04:00
yhirose
b85d8c89ce Fix #158 2021-03-17 09:48:43 -04:00
yhirose
495541484c Fix #147 2021-03-17 09:46:11 -04:00
yhirose
45fb3d4f3b
Fix #156 (#157) 2021-03-13 20:49:24 -05:00
yhirose
54b14aa4d9 Code cleanup 2021-03-08 13:56:22 -05:00
yhirose
9660853a68 Changed 'unreferenced rule' not to be reported as error, but warning 2021-03-05 16:53:25 -05:00
yhirose
e26a9e88f5 Allow literal operators in infix expression 2021-03-04 19:31:31 -05:00
yhirose
a248d8689e Added unreferenced rules check 2021-03-02 08:30:17 -05:00
yhirose
73a058d4d9 Fixed char -> int conversion problem 2021-02-08 16:23:45 -05:00
yhirose
8643927c99 Fixed error report problems 2021-02-04 10:45:18 -05:00
yhirose
23b284d0a3 Code cleanup 2021-01-28 19:21:59 -05:00
Nicholas Smith
15aa1380de
Remove charconv requirement (#142)
* Remove charconv requirement

It's the most restrictive compiler requirement (gcc 8.1, clang 7)

* Use has_include preprocessor function
2021-01-28 19:04:23 -05:00
yhirose
6f73b76c5f Fix #141 2021-01-27 13:03:13 -05:00
yhirose
d2a2eb3cf6 Cut operator support 2021-01-26 13:45:04 -05:00
yhirose
217d551744 Use std::string_view in peg::parser 2021-01-22 09:16:42 -05:00
yhirose
80b20a091f Resolve #137 2021-01-21 20:56:05 -05:00
yhirose
9dfbbc5671 Fix #136 2021-01-20 20:48:28 +00:00
yhirose
1c00fa77fa Fixed warnings 2021-01-19 12:03:06 -05:00
yhirose
ac602d5542 Fixed more infinite loop grammar problems 2021-01-18 17:55:45 -05:00
yhirose
f560ceca97 Added unexpected token place holder %t 2021-01-18 15:26:54 -05:00
yhirose
0f4feff175 Fix syntax error position problem 2021-01-16 14:39:14 -05:00
yhirose
6171d3bf6e Code format 2021-01-15 23:37:27 -05:00
yhirose
4540874e7e Fixed macro reference problem with reference arguments 2021-01-15 23:36:01 -05:00
yhirose
0dab91d8d9 Throw operator support 2021-01-15 20:19:43 -05:00
yhirose
d4aa6e7df5 Error message support 2021-01-15 19:27:31 -05:00
yhirose
1442e3e21f Unicode char support 2021-01-15 17:27:35 -05:00
yhirose
8ad71c4adc Fixed problem with %recover 2021-01-15 16:51:36 -05:00
yhirose
0d005fb3da FIxed problems with error recovery 2021-01-15 00:05:22 -05:00
yhirose
8dc6a287f8 Added error recovery feature 2021-01-13 21:35:47 -05:00
yhirose
befdd27075 Improved error message 2021-01-10 16:02:15 -05:00
yhirose
50aaba73a3 Better error report 2021-01-09 23:28:33 -05:00
yhirose
990dac98cf Changed to use lit("") for empty exp instead of npd(dot()) 2021-01-09 20:35:15 -05:00
yhirose
9ad70096c8 Another infinite loop grammar detection. Fix #133 2021-01-09 15:12:01 -05:00
yhirose
8c68f4cff8 Fixed error report problems 2021-01-08 20:30:40 -05:00
yhirose
222466d07a Revert "Fixed error posision problem in Repetition operator"
This reverts commit 6ed41b0571.
2021-01-08 14:23:58 -05:00
yhirose
6ed41b0571 Fixed error posision problem in Repetition operator 2021-01-08 14:08:33 -05:00
yhirose
b26e2477ff C++17 support 2020-11-09 13:18:38 -05:00
yhirose
b92da07bed Fix #128 2020-11-09 12:06:48 -05:00
yhirose
b3b29ce8f3 Fix #122 2020-08-07 13:42:51 -04:00
yhirose
0061f393de Fix #121 2020-08-07 10:21:47 -04:00