summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2010-03-29 14:15:05 -0700
committerIan Romanick <ian.d.romanick@intel.com>2010-03-29 15:17:16 -0700
commit251eb753187fee83e6413f44f8b3cf0be1b4f4cb (patch)
tree4aa09c569d950c050728952cbf978b989678c865
parent3c6fea3048a0d9add2fec621d30c32f3519d8868 (diff)
Add missing break-statements in ast_expression::hir
The ast_conditional case was flowing right into ast_pre_inc.
-rw-r--r--ast_to_hir.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/ast_to_hir.cpp b/ast_to_hir.cpp
index 0a505bf414..8d34adf8ef 100644
--- a/ast_to_hir.cpp
+++ b/ast_to_hir.cpp
@@ -649,12 +649,15 @@ ast_expression::hir(exec_list *instructions,
case ast_ls_assign:
case ast_rs_assign:
+ break;
case ast_and_assign:
case ast_xor_assign:
case ast_or_assign:
+ break;
case ast_conditional:
+ break;
case ast_pre_inc:
case ast_pre_dec: {