From 01347bf0919bd0e9d1820c059e412efe0aae3487 Mon Sep 17 00:00:00 2001 From: Avi Kivity Date: Sun, 26 Apr 2015 19:09:25 +0300 Subject: [PATCH] cql3: enable grammar for frozen --- cql3/Cql.g | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cql3/Cql.g b/cql3/Cql.g index 91dbaac2f1..1e14f97e23 100644 --- a/cql3/Cql.g +++ b/cql3/Cql.g @@ -1291,15 +1291,15 @@ comparatorType returns [shared_ptr t] | c=collection_type { $t = c; } | tt=tuple_type { $t = tt; } | id=userTypeName { $t = cql3::cql3_type::raw::user_type(id); } -#if 0 | K_FROZEN '<' f=comparatorType '>' { try { - $t = CQL3Type.Raw.frozen(f); - } catch (InvalidRequestException e) { - addRecognitionError(e.getMessage()); + $t = cql3::cql3_type::raw::frozen(f); + } catch (exceptions::invalid_request_exception& e) { + add_recognition_error(e.what()); } } +#if 0 | s=STRING_LITERAL { try {