Skip to content

Commit

Permalink
assembler: Distinguish unlabeled and first-label homonym namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberShadow committed Sep 6, 2012
1 parent 87047b9 commit f4824cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assembler.d
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ final class Assembler
if (pindex)
n.id = *pindex;
else
n.id = namespaceLabels[name] = namespaceLabels.length;
n.id = namespaceLabels[name] = namespaceLabels.length+1;
}
expectChar(')');
return n;
Expand Down

0 comments on commit f4824cd

Please sign in to comment.