[template-glib] expr-parser: drop version override
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [template-glib] expr-parser: drop version override
- Date: Thu, 5 May 2022 01:32:05 +0000 (UTC)
commit f9847e518241c2aa8816d674f13a4bb82234afe6
Author: Christian Hergert <chergert redhat com>
Date: Wed May 4 18:07:53 2022 -0700
expr-parser: drop version override
This should use item.@version instead now to get the proper attribute.
src/tmpl-expr-parser.y | 3 ---
1 file changed, 3 deletions(-)
---
diff --git a/src/tmpl-expr-parser.y b/src/tmpl-expr-parser.y
index 1a25ff4..a1d7e16 100644
--- a/src/tmpl-expr-parser.y
+++ b/src/tmpl-expr-parser.y
@@ -249,9 +249,6 @@ exp: exp CMP exp {
$$ = tmpl_expr_new_getattr ($1, $3);
g_free ($3);
}
- | exp '.' VERSION {
- $$ = tmpl_expr_new_getattr ($1, "version");
- }
| exp '.' NAME '=' exp {
$$ = tmpl_expr_new_setattr ($1, $3, $5);
g_free ($3);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]