mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-23 10:00:35 +00:00
cql3/Cql.g: Convert ident to C++
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
This commit is contained in:
10
cql3/Cql.g
10
cql3/Cql.g
@@ -967,14 +967,14 @@ cident returns [shared_ptr<column_identifier::raw> id]
|
||||
#endif
|
||||
;
|
||||
|
||||
#if 0
|
||||
// Identifiers that do not refer to columns or where the comparator is known to be text
|
||||
ident returns [ColumnIdentifier id]
|
||||
: t=IDENT { $id = new ColumnIdentifier($t.text, false); }
|
||||
| t=QUOTED_NAME { $id = new ColumnIdentifier($t.text, true); }
|
||||
ident returns [shared_ptr<column_identifier> id]
|
||||
: t=IDENT { $id = make_shared<column_identifier>(sstring{$t.text}, false); }
|
||||
| t=QUOTED_NAME { $id = make_shared<column_identifier>(sstring{$t.text}, true); }
|
||||
#if 0
|
||||
| k=unreserved_keyword { $id = new ColumnIdentifier(k, false); }
|
||||
;
|
||||
#endif
|
||||
;
|
||||
|
||||
// Keyspace & Column family names
|
||||
keyspaceName returns [sstring id]
|
||||
|
||||
Reference in New Issue
Block a user