Skip to content

Commit

Permalink
Fix: qualifiers not working for nested namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
positively-charged committed Dec 7, 2016
1 parent b5cf4ef commit 878be16
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/parse/library.c
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,10 @@ void read_namespace_member( struct parse* parse ) {
else if ( parse->tk == TK_SCRIPT ) {
p_read_script( parse );
}
else if ( parse->tk == TK_NAMESPACE ) {
else if (
parse->tk == TK_NAMESPACE ||
parse->tk == TK_TYPEAWARE ||
parse->tk == TK_BLOCKSCOPING ) {
read_namespace( parse );
}
else if ( parse->tk == TK_USING ) {
Expand Down

0 comments on commit 878be16

Please sign in to comment.