Commit Graph

105 Commits

Author SHA1 Message Date
yhirose
3dc0205ffa Handle an invalid escape sequence char 2020-01-26 23:07:12 -05:00
yhirose
35d2d201e1 Updated CmakeLists.txt for test 2020-01-26 22:36:34 -05:00
yhirose
c5e356d804 Implemented infinite loop detector 2020-01-24 20:57:37 -05:00
yhirose
be470f9332 Fix #71 2019-11-29 00:57:45 -05:00
Francesco Guastella
1afa4988bc Replace peg::any with std::any (when C++17 is available) 2019-11-22 13:25:42 +01:00
yhirose
347113d4fd Code cleanup 2019-08-27 20:09:07 -04:00
yhirose
3482a08465 Fix #67 2019-08-27 20:08:48 -04:00
yhirose
4d0b2b3591 Fix #66 2019-08-27 12:07:35 -04:00
yhirose
b7da359bac Code cleanup 2019-08-27 08:28:03 -04:00
yhirose
d75ced2408 Fix #68 2019-08-27 02:44:04 -04:00
yhirose
2d276c8cd9 Fix #63 2019-07-09 21:49:15 -04:00
yhirose
2dcdafe3cb Fixed problem with choice and choice count 2019-02-12 22:50:23 -05:00
yhirose
15c19e4a0f fix #55 2018-11-29 20:19:46 -05:00
yhirose
757e81e63d fix #52. Changed to allow Action handler taking non const SemanticValues
parameter
2018-10-07 09:25:12 -04:00
yhirose
c006918329 Merge branch 'unicode' 2018-09-16 12:58:10 -04:00
yhirose
452aea18cd UTF encoding support 2018-09-16 12:57:03 -04:00
yhirose
79a3c75846 Removed 'user defined rule' feature 2018-09-13 22:44:04 -04:00
yhirose
ed8a1bd7d9 Better Unicode handling 2018-09-13 22:04:46 -04:00
yhirose
fe3ae84736 Fixed build errors 2018-09-04 21:06:38 -04:00
yhirose
4c8415c054 Added another test case for %whitespace 2018-08-02 21:46:17 -04:00
yhirose
5445b5c2bb fix #41 2018-07-29 13:49:00 -04:00
yhirose
6584bfa5c6 Changed to setup is_token at a better place 2018-07-28 21:51:11 -04:00
yhirose
bbd8e68b71 Macro support (fix #25) 2018-07-27 17:16:35 -04:00
yhirose
9c3da8d6af Name refactoring 2018-07-20 22:56:13 -04:00
yhirose
9980eea1cd Fixed problems with backreference 2018-07-20 22:09:54 -04:00
yhirose
f0d2c529ba Back reference support 2018-07-13 17:51:20 -04:00
yhirose
a77edadfa7 Added %word rule 2018-07-13 17:26:57 -04:00
yhirose
ca950520ef Removed the simple interface 2018-07-12 19:03:57 +02:00
yhirose
0dfe7a22c1 Use catch2 for unit testing 2018-05-28 21:06:23 -04:00
yhirose
e72b630455 Added line_info method on SemanticValues. 2017-11-03 22:27:08 -04:00
yhirose
ebfafc3947 Removed Visual Studio solution and project files. 2017-08-25 09:05:12 -04:00
yhirose
21934dd1ce Fixed #22. 2016-10-27 20:28:03 -04:00
hvellyr
e562f51f63 No need for pthread lib in examples and tests 2016-06-07 11:51:12 +02:00
yhirose
7b78a1c00f Removed 'user defined rule' feature. 2016-06-02 17:52:21 -04:00
hvellyr
546942e389 Make use of \u2190 char optional
VS2010 is not capable of compiling source code with chars beyond the
"current code page" reliably.
2016-06-01 16:27:24 +02:00
hvellyr
2b2b171cbd Fix sign/unsigned compiler warnings 2016-06-01 16:27:24 +02:00
hvellyr
5cac962f18 Fix compiler warning about "old style cast" 2016-06-01 16:27:24 +02:00
hvellyr
d95cef6c1b Fix compiler warnings about unused method parameters 2016-06-01 16:27:24 +02:00
hvellyr
c3c6037241 Enhance CMake files to set warning level high(er) and set C++14 flags 2016-06-01 16:27:23 +02:00
hvellyr
d0c6cd55ad Enabling testing in the CMakeList
... which allows to use "make test" and/or "ctest -V"
2016-06-01 16:27:23 +02:00
hvellyr
b031727fa2 Cmake 2.8 is more than sufficient
... for the purposes of this project and makes testing on older
platforms easier.  In addition travis-ci has by default only cmake
2.8.
2016-06-01 16:27:23 +02:00
yhirose
ae400aa218 Supported . 2016-01-23 22:15:15 -05:00
yhirose
5b88443270 Major change in the way to handle token boundary. 2016-01-23 22:07:25 -05:00
yhirose
50ea1858c1 Added unit test for missing rules. 2015-12-31 19:41:37 -05:00
yhirose
568bf15ed3 Fixed problems with the %whitespace rule. 2015-12-03 18:59:12 -05:00
yhirose
a9cea16325 Renamed 'before/after' to 'enter/exit'. 2015-12-02 22:52:18 -05:00
yhirose
69ede706f0 Fixed build errors. Switched to CMake build system completely. 2015-11-30 17:26:06 -05:00
yhirose
33978023cf Added automatic whitespace skipping feature. 2015-11-26 16:48:00 -05:00
yhirose
49c81a5f59 Added more unit tests. 2015-11-26 16:46:37 -05:00
yhirose
5b9daaf090 Restored before/after handlers. 2015-11-17 06:10:32 -05:00