Better handling of parenthesis inside string literals

When scanning for the matching parenthesis, string literals
were not taken into account, which would inevitably lead to
errors if one wanted to do a selection on a string containing
a parenthesis.

Now it uses a state-machine to skip the ones that are located
inside literals.
This commit is contained in:
Salvo 'LtWorf' Tomaselli
2016-04-09 11:37:28 +02:00
parent 6bc219c635
commit 1b049e13f0
10 changed files with 49 additions and 3 deletions

View File

@@ -2,8 +2,8 @@
- Improve error reporting
- Release is now signed with PGP
- Doesn't crash on network errors
- Fixed optimization introduced in 2.2
that did not hold in all cases.
- Fixed optimization introduced in 2.2 that did not hold in all cases
- Better handling of parenthesis inside string literals
2.3
- Very small release. The windows setup now installs the C++ library