Allow unreserved keywoards in property values too (following #4186)
Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/249456b0 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/249456b0 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/249456b0 Branch: refs/heads/trunk Commit: 249456b07dc9b1aa9d3ec97b6383e8d5ce60f94f Parents: dfdf89c Author: Sylvain Lebresne <sylv...@datastax.com> Authored: Thu May 3 19:52:22 2012 +0200 Committer: Sylvain Lebresne <sylv...@datastax.com> Committed: Thu May 3 20:01:25 2012 +0200 ---------------------------------------------------------------------- src/java/org/apache/cassandra/cql3/Cql.g | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cassandra/blob/249456b0/src/java/org/apache/cassandra/cql3/Cql.g ---------------------------------------------------------------------- diff --git a/src/java/org/apache/cassandra/cql3/Cql.g b/src/java/org/apache/cassandra/cql3/Cql.g index 8d15a5b..ba01f85 100644 --- a/src/java/org/apache/cassandra/cql3/Cql.g +++ b/src/java/org/apache/cassandra/cql3/Cql.g @@ -492,6 +492,7 @@ property returns [String str] propertyValue returns [String str] : v=(STRING_LITERAL | IDENT | INTEGER | FLOAT) { $str = $v.text; } + | u=unreserved_keyword { $str = u; } ; properties returns [Map<String, String> props]