Permalink
Browse files

assembler: Distinguish unlabeled and first-label homonym namespace

  • Loading branch information...
1 parent 87047b9 commit f4824cd3b44a250c7ea0356f25c796c0da3d0794 @CyberShadow committed Sep 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 assembler.d
View
@@ -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;

0 comments on commit f4824cd

Please sign in to comment.