Jason Turner
d0d08d2ed9
Merge branch 'best_practices' into develop
2018-06-03 16:40:29 -06:00
Jason Turner
aa61df941b
Merge pull request #420 from StanEpp/c++17
...
Add support for chained dot calls.
2018-06-03 15:47:05 -06:00
Jason Turner
a880319db8
Merge branch 'develop' into best_practices
2018-05-30 08:30:29 -06:00
Jason Turner
c19705da5d
Merge remote-tracking branch 'origin/c++17' into develop
2018-05-29 13:21:09 -06:00
Jason Turner
2d762c8be3
Update copyrights to 2018
2018-05-29 11:51:15 -06:00
Jason Turner
145acd378b
Take parse depth to 512, make it templated
...
Closes #442
2018-05-29 07:09:25 -06:00
Jason Turner
f09b2d8731
Update release notes and fix compiler warnings
2018-05-26 20:29:25 -06:00
Jason Turner
61dfb22af8
Merge pull request #439 from AlekMosingiewicz/handle-bom-in-script
...
Handle BOM in the beginning of the script
2018-05-26 14:08:29 -06:00
Jason Turner
e0f29e0f7c
Limit parse depth to avoid stackoverflow
2018-05-25 08:34:17 -06:00
Alek Mosingiewicz
d880d46214
Type cast fix.
2018-05-22 16:23:22 +02:00
Alek Mosingiewicz
be29b0a193
Merge branch 'develop' into handle-bom-in-script
2018-05-22 05:00:41 +02:00
Alek Mosingiewicz
60c0a0bf15
Refactor skippable BOM detection.
2018-05-21 17:04:33 +02:00
Alek Mosingiewicz
0d44b0b456
Added doc comment.
2018-05-15 19:32:17 +02:00
Alek Mosingiewicz
322568ba39
Check for illegal characters while parsing input.
2018-05-15 19:25:28 +02:00
Alek Mosingiewicz
a024db040d
Catch BOM at the beginning of file.
2018-05-13 12:24:34 +02:00
Alek Mosingiewicz
efbebee9da
Throw exception when user-provided input contains BOM.
2018-05-13 10:25:04 +02:00
Alek Mosingiewicz
f37d0e13d3
Skip UTF-8 BOM before parsing begins.
2018-05-10 17:44:06 +02:00
Stan
be5709ab5c
Add support for chained dot calls.
2018-03-04 22:49:36 +01:00
Jason Turner
476a752a08
Fix last merge
2018-03-02 15:09:52 -07:00
Jason Turner
2818ec67df
Merge remote-tracking branch 'origin/develop' into apply_unicode_patches
2018-03-02 15:01:41 -07:00
Jason Turner
1a9165f7fc
Normalize on C++'s standards for \u and \U
2018-03-02 07:45:24 -07:00
Jason Turner
1b9027a24f
Fix handling of 32 bit unicode character escapes
2018-03-01 17:03:50 -07:00
Jason Turner
81ebe1a7be
Fix the compiler warnings related to unicode parsing
...
Re #415
2018-03-01 13:40:49 -07:00
Jason Turner
1acfb4f7b8
Apply patch from @chris0e3
2018-03-01 11:22:20 -07:00
Jason Turner
1c5c34561b
Merge pull request #388 from arcoRocks/patch-2
...
Fix for #387
2018-02-02 21:34:12 -07:00
Jason Turner
35af4edb30
Ignore some warnings from clang++
2018-02-02 21:04:21 -07:00
arcoRocks
f6ffcd9481
Fix for #387
2017-12-04 13:41:59 +01:00
Jason Turner
8b523c73b8
Merge remote-tracking branch 'origin/develop' into best_practices
2017-11-21 15:34:04 -07:00
Jason Turner
f37bb847c7
Merge remote-tracking branch 'origin/c++17' into best_practices
2017-11-21 14:59:04 -07:00
Jason Turner
fdddba1e00
Merge pull request #355 from bogemic/pvs-studio-warnings-v728
...
fixed PVS-Studio warnings V728
2017-11-21 14:51:56 -07:00
Jason Turner
92ae85c3e8
Remove guards from catch blocks
2017-11-18 19:08:14 -07:00
Jason Turner
28a59d2a6e
Avoid creating vectors when possible
2017-11-16 09:10:48 -07:00
Mario Lang
f54aa90736
Use using
2017-09-25 16:55:18 +02:00
Jason Turner
8e590387f1
Merge branch 'constexpr' into c++17
2017-09-20 17:05:31 -06:00
Jason Turner
6cae70c208
Move to module level statics from function level
2017-09-20 16:44:32 -06:00
Jason Turner
c5a9cab3dd
Simple cleanup for string comparisons
2017-09-20 15:34:19 -06:00
Jason Turner
e38b05ff9a
Better constexpr for comment types
2017-09-10 07:12:33 -06:00
Jason Turner
4275ec6878
Make it easier to swap around some hashing algorithms
2017-08-25 15:31:24 -06:00
Jason Turner
e49df4c54d
Move the parser to string_view
2017-08-25 11:17:47 -06:00
Jason Turner
b8b548bab3
more constexpr for parser
2017-08-23 16:10:10 -06:00
Jason Turner
ac8f876347
constexpr fixes for Visual Studio
2017-08-22 12:02:42 -06:00
Jason Turner
ddb2f352cd
Initial simple application of constexpr to API
2017-08-17 11:27:14 -06:00
Jason Turner
1ca857b890
Satisfy older clangs by adding default ctor
2017-08-11 14:20:17 -06:00
Jason Turner
710b3c4003
Fix instantiation of Static_String for older compilers
2017-08-11 08:57:44 -06:00
Jason Turner
73d543eef0
Make operator lookup noexcept
2017-08-10 20:32:39 -06:00
Jason Turner
5ba155e058
Make operators noexcept (removing std::vector usage)
2017-08-10 19:52:32 -06:00
Jason Turner
3f8b697e9e
Fix windows noexcept build
2017-07-23 07:38:20 -06:00
Jason Turner
e07cd88659
Add noexcept where appropriate
...
This modifies no logic, it simply adds the keyword `noexcept`
I believe this is 100% correct. It calls methods that are not
guaranteed to be `noexcept`, such as `operator[]` but have
no logically way of throwing.
2017-07-22 20:33:30 -06:00
Jason Turner
ef333e491a
remove existing constexpr
2017-07-20 21:16:54 -06:00
Jason Turner
f03659c865
More careful testing of 'for' parses
2017-07-19 13:19:36 -06:00