diff --git a/src/frontend/grammar.y b/src/frontend/grammar.y
index 4f7a8913630c547b19c5edc86b4d320804ecd2ec..ce313310b918f9c6011410d2e9e9c60e430ab67d 100644 (file)
--- a/src/frontend/grammar.y
+++ b/src/frontend/grammar.y
%token SCANNER_ERROR
-%token <str> IDENTIFIER
+%token <str> IDENTIFIER STRING
%token <node> FETCH LIST
%type <list> statements
;
fetch_statement:
- FETCH IDENTIFIER
+ FETCH STRING
{
$$ = SDB_CONN_NODE(sdb_object_create_dT(/* name = */ NULL,
conn_fetch_t, conn_fetch_destroy));
;
expression:
- IDENTIFIER
+ STRING
{
$$ = SDB_CONN_NODE(sdb_object_create_T(/* name = */ NULL,
conn_node_matcher_t));