diff options
author | Ting-Wei Lan <tingwei.lan@cobinhood.com> | 2019-01-28 18:03:53 +0800 |
---|---|---|
committer | Jhih-Ming Huang <jm.huang@cobinhood.com> | 2019-03-26 17:48:21 +0800 |
commit | dab8ef6f9f0a4a945114a96c28a422a73eb1c770 (patch) | |
tree | 9d238592f5280f17537fb193e0d875984800b9f1 /p2p/enr | |
parent | 53e670ca313e16acf18f79fef37ff72d66687520 (diff) | |
download | dexon-dab8ef6f9f0a4a945114a96c28a422a73eb1c770.tar dexon-dab8ef6f9f0a4a945114a96c28a422a73eb1c770.tar.gz dexon-dab8ef6f9f0a4a945114a96c28a422a73eb1c770.tar.bz2 dexon-dab8ef6f9f0a4a945114a96c28a422a73eb1c770.tar.lz dexon-dab8ef6f9f0a4a945114a96c28a422a73eb1c770.tar.xz dexon-dab8ef6f9f0a4a945114a96c28a422a73eb1c770.tar.zst dexon-dab8ef6f9f0a4a945114a96c28a422a73eb1c770.zip |
core: vm: sqlvm: process non-UTF-8 input and escape sequences
Our parser is able to process queries with invalid UTF-8, provided that
it is compatible with ASCII. Since doing so requires encoding the input
before passing to pigeon, Parse* functions generated by pigeon are
unexported because they should not be used directly.
Escape sequences in string literals and identifiers are now recognized.
In addition to escape sequences supported by solidity, we support \U
similar to the one supported by Go to allow users to specify non-BMP
Unicode code point without using multiple \x escapes.
AST printer is modified to quote non-printable characters in strings to
prevent control characters from messing up the terminal.
Diffstat (limited to 'p2p/enr')
0 files changed, 0 insertions, 0 deletions