summaryrefslogtreecommitdiffstats
path: root/dimension/common.rules
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-11-08 02:10:35 -0500
committerTavian Barnes <tavianator@gmail.com>2010-11-08 02:10:35 -0500
commit835a9bdcbd7365187954ab8a6453a2ab67008c2a (patch)
tree3aea732b197644e7d9a9e6855d0a133ff4241c22 /dimension/common.rules
parent60190f7766be07d4fdee26eff6e2edc3d1842d99 (diff)
downloaddimension-835a9bdcbd7365187954ab8a6453a2ab67008c2a.tar.xz
Remove useless array node from color-lists.
Diffstat (limited to 'dimension/common.rules')
-rw-r--r--dimension/common.rules10
1 files changed, 3 insertions, 7 deletions
diff --git a/dimension/common.rules b/dimension/common.rules
index 754e063..600ef80 100644
--- a/dimension/common.rules
+++ b/dimension/common.rules
@@ -575,17 +575,13 @@ PIGMENT_MODIFIERS: /* empty */ {
;
COLOR_LIST2: /* empty */ {
- dmnsn_astnode list = dmnsn_new_astnode(DMNSN_AST_ARRAY, @$);
- $$ = dmnsn_new_astnode1(DMNSN_AST_COLOR_LIST, @$, list);
+ $$ = dmnsn_new_astnode(DMNSN_AST_COLOR_LIST, @$);
}
| COLOR {
- dmnsn_astnode list = dmnsn_new_astnode1(DMNSN_AST_ARRAY, @$, $1);
- $$ = dmnsn_new_astnode1(DMNSN_AST_COLOR_LIST, @$, list);
+ $$ = dmnsn_new_astnode1(DMNSN_AST_COLOR_LIST, @$, $1);
}
| COLOR "," COLOR {
- dmnsn_astnode list = dmnsn_new_astnode2(DMNSN_AST_ARRAY, @$,
- $1, $3);
- $$ = dmnsn_new_astnode1(DMNSN_AST_COLOR_LIST, @$, list);
+ $$ = dmnsn_new_astnode2(DMNSN_AST_COLOR_LIST, @$, $1, $3);
}
;