Skip to content

Commit

Permalink
correct in-line assembler build
Browse files Browse the repository at this point in the history
  • Loading branch information
jmalak committed Mar 12, 2022
1 parent d4da36f commit 0f98770
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bld/wasm/c/asmdata.c
Original file line number Diff line number Diff line change
Expand Up @@ -665,8 +665,10 @@ static token_idx dup_array( asm_sym *sym, asm_sym *struct_sym, token_idx start_p
return( INVALID_IDX );
}
count = AsmBuffer[cur_pos].u.value;
#if defined( _STANDALONE_ )
if( sym != NULL )
sym->count = 0;
#endif
cur_pos += 2;
if( AsmBuffer[cur_pos].class != TC_OP_BRACKET ) {
AsmError( SYNTAX_ERROR );
Expand Down

0 comments on commit 0f98770

Please sign in to comment.