aboutsummaryrefslogtreecommitdiffstats
path: root/.ci
diff options
context:
space:
mode:
authorTing-Wei Lan <tingwei.lan@cobinhood.com>2019-01-28 18:03:53 +0800
committerJhih-Ming Huang <jm.huang@cobinhood.com>2019-02-19 12:12:40 +0800
commitd7b27375cf02bd02fa84f97549e3df3aeb0f6e1f (patch)
tree964cb15ac822ae5378724e287a4af211f0b3d4d8 /.ci
parent6c092b4820365156b789740b4aca6020a111bbbd (diff)
downloaddexon-d7b27375cf02bd02fa84f97549e3df3aeb0f6e1f.tar
dexon-d7b27375cf02bd02fa84f97549e3df3aeb0f6e1f.tar.gz
dexon-d7b27375cf02bd02fa84f97549e3df3aeb0f6e1f.tar.bz2
dexon-d7b27375cf02bd02fa84f97549e3df3aeb0f6e1f.tar.lz
dexon-d7b27375cf02bd02fa84f97549e3df3aeb0f6e1f.tar.xz
dexon-d7b27375cf02bd02fa84f97549e3df3aeb0f6e1f.tar.zst
dexon-d7b27375cf02bd02fa84f97549e3df3aeb0f6e1f.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 '.ci')
0 files changed, 0 insertions, 0 deletions