summaryrefslogtreecommitdiffstats
path: root/dimension
diff options
context:
space:
mode:
Diffstat (limited to 'dimension')
-rw-r--r--dimension/grammar.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/dimension/grammar.y b/dimension/grammar.y
index 1a3e200..4bf5ea4 100644
--- a/dimension/grammar.y
+++ b/dimension/grammar.y
@@ -1323,6 +1323,7 @@ static dmnsn_astnode
dmnsn_vector_promote(dmnsn_astnode astnode)
{
dmnsn_astnode promoted = dmnsn_copy_astnode(astnode), component;
+ promoted.type = DMNSN_AST_VECTOR;
if (astnode.type == DMNSN_AST_VECTOR) {
unsigned int i;