Skip to content

Commit

Permalink
Fix: unreachable area reached
Browse files Browse the repository at this point in the history
  • Loading branch information
positively-charged committed Jan 11, 2017
1 parent 9533a28 commit 32961b2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/semantic/dec.c
Original file line number Diff line number Diff line change
Expand Up @@ -639,6 +639,8 @@ void test_spec( struct semantic* semantic, struct spec_test* test ) {
case SPEC_BOOL:
case SPEC_STR:
case SPEC_VOID:
case SPEC_AUTO:
case SPEC_AUTOENUM:
test->public_spec = true;
break;
case SPEC_ENUM:
Expand Down

0 comments on commit 32961b2

Please sign in to comment.