diff options
author | Tavian Barnes <tavianator@gmail.com> | 2009-12-16 15:48:41 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2009-12-16 15:48:41 -0500 |
commit | e7975923d6b04acaac0875beb5e4c81ac120d116 (patch) | |
tree | fe2d0e78ce554a0c64e16616cb0b73a4156b91f9 /dimension | |
parent | e9e459759e551f5726bcff21485d3c4621c05bfe (diff) | |
download | dimension-e7975923d6b04acaac0875beb5e4c81ac120d116.tar.xz |
Fix vector promotion bug.
Diffstat (limited to 'dimension')
-rw-r--r-- | dimension/grammar.y | 1 |
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; |