Add missing break-statements in ast_expression::hir
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 29 Mar 2010 21:15:05 +0000 (14:15 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 29 Mar 2010 22:17:16 +0000 (15:17 -0700)
The ast_conditional case was flowing right into ast_pre_inc.

ast_to_hir.cpp

index 0a505bf414648553226ea6c595eec5e417274ac8..8d34adf8ef486116b06be3e84d2323b1aa755d31 100644 (file)
@@ -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: {