From ab536050df60ff41de9ab91448c69c2350402d4f Mon Sep 17 00:00:00 2001 From: paul cannon Date: Tue, 3 Apr 2012 13:56:14 -0500 Subject: [PATCH] cqlsh cql3 syntax support for double-quoted names i.e., at least don't throw an error on seeing "" in cql text --- pylib/cqlshlib/cqlhandling.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pylib/cqlshlib/cqlhandling.py b/pylib/cqlshlib/cqlhandling.py index d494a91164..3907162f49 100644 --- a/pylib/cqlshlib/cqlhandling.py +++ b/pylib/cqlshlib/cqlhandling.py @@ -209,6 +209,7 @@ syntax_rules = r''' JUNK ::= /([ \t\r\f\v]+|(--|[/][/])[^\n\r]*([\n\r]|$)|[/][*].*?[*][/])/ ; ::= /'([^']|'')*'/ ; + ::= /"([^"]|"")*"/ ; ::= /-?[0-9]+\.[0-9]+/ ; ::= /-?[0-9]+/ ; ::= /[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/ ; @@ -230,6 +231,7 @@ JUNK ::= /([ \t\r\f\v]+|(--|[/][/])[^\n\r]*([\n\r]|$)|[/][*].*?[*][/])/ ; ; ::= | + | | ; ::=