Skip to content

Commit

Permalink
Issue 17074: extern(C++, keyword) crashes compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
ibuclaw committed Jul 23, 2017
1 parent ac8feb4 commit c8f1a62
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/parse.c
Original file line number Diff line number Diff line change
Expand Up @@ -1340,7 +1340,10 @@ LINK Parser::parseLinkage(Identifiers **pidents, CPPMANGLE *pcppmangle)
}
}
else
{
error("identifier expected for C++ namespace");
idents = NULL; // error occurred, invalidate list of elements.
}
break;
}
}
Expand Down

0 comments on commit c8f1a62

Please sign in to comment.