summaryrefslogtreecommitdiffstats
path: root/dimension/common.rules
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-11-08 16:10:40 -0500
committerTavian Barnes <tavianator@gmail.com>2010-11-08 16:10:40 -0500
commita76d4f1fb96633e7f348ba6aa0c14b726e15e28e (patch)
treeaae8f28d884e7beca4441524c3a981c8340fde4f /dimension/common.rules
parent1ae277f2094a21d93b1460bf466ff657201310c2 (diff)
downloaddimension-a76d4f1fb96633e7f348ba6aa0c14b726e15e28e.tar.xz
Add quick_color to pigments.
Diffstat (limited to 'dimension/common.rules')
-rw-r--r--dimension/common.rules6
1 files changed, 6 insertions, 0 deletions
diff --git a/dimension/common.rules b/dimension/common.rules
index 600ef80..74a40e4 100644
--- a/dimension/common.rules
+++ b/dimension/common.rules
@@ -572,6 +572,12 @@ PIGMENT_MODIFIERS: /* empty */ {
$$ = $1;
dmnsn_array_push($$.children, &$2);
}
+ | PIGMENT_MODIFIERS "quick_color" COLOR {
+ dmnsn_astnode quick_color
+ = dmnsn_new_astnode1(DMNSN_AST_QUICK_COLOR, @2, $3);
+ $$ = $1;
+ dmnsn_array_push($$.children, &quick_color);
+ }
;
COLOR_LIST2: /* empty */ {