Skip to content
This repository has been archived by the owner on Aug 22, 2019. It is now read-only.

Commit

Permalink
Fix assigning to from wrong enum type.
Browse files Browse the repository at this point in the history
 On branch master
 Your branch is up-to-date with 'origin/master'.

 Changes to be committed:
	modified:   src/verilog_ast.c
  • Loading branch information
ben-marshall committed Aug 6, 2016
1 parent e0cdf13 commit 97c7a62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/verilog_ast.c
Original file line number Diff line number Diff line change
Expand Up @@ -2587,12 +2587,12 @@ ast_module_declaration * ast_new_module_declaration(
}
else if(construct -> type == MOD_ITEM_INITIAL_CONSTRUCT){
ast_statement_block * toadd = ast_extract_statement_block(
STM_BLOCK_INITIAL, construct -> initial_construct);
BLOCK_SEQUENTIAL_INITIAL, construct -> initial_construct);
ast_list_append(tr -> initial_blocks ,toadd);
}
else if(construct -> type == MOD_ITEM_ALWAYS_CONSTRUCT){
ast_statement_block * toadd = ast_extract_statement_block(
STM_BLOCK_ALWAYS, construct -> always_construct);
BLOCK_SEQUENTIAL_ALWAYS, construct -> always_construct);
ast_list_append(tr -> always_blocks,toadd);
}
else if(construct -> type == MOD_ITEM_NET_DECLARATION){
Expand Down

0 comments on commit 97c7a62

Please sign in to comment.