Add support for prepared statements

This commit is contained in:
Vikram Rangnekar
2019-07-29 01:13:33 -04:00
parent 4c07ad1102
commit 2d8fc2b7e2
19 changed files with 493 additions and 63 deletions

View File

@ -248,6 +248,8 @@ func lexRoot(l *lexer) stateFn {
case r == '$':
l.ignore()
if l.acceptAlphaNum() {
s, e := l.current()
lowercase(l.input, s, e)
l.emit(itemVariable)
}
case contains(l.input, l.start, l.pos, punctuatorToken):