diff --git a/src/frontend/grammar.y b/src/frontend/grammar.y
index 92bfd1f5c60d2ab24d5e0b6f82b90e7e4ce73c71..08d194deeac438290b55dd570356e31d6099a449 100644 (file)
--- a/src/frontend/grammar.y
+++ b/src/frontend/grammar.y
sdb_object_deref(SDB_OBJ($3)); $3 = NULL;
}
|
+ ':' IDENTIFIER
+ {
+ int field = sdb_store_parse_field_name($2);
+ free($2); $2 = NULL;
+ $$ = sdb_store_expr_fieldvalue(field);
+ }
+ |
data
{
$$ = sdb_store_expr_constvalue(&$1);