aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
authorLinus Torvalds <torvalds@penguin.transmeta.com>2003-03-31 16:28:13 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-07 20:59:57 -0700
commit46fad7332eaf32d35edfbae6e15fa3cda31196c2 (patch)
tree7fbae8d1bc0dbd8fab7d22ca5b616749c43486d8
parent91234dcb89f1d8883a79dd1edb9b520d9fff5571 (diff)
downloadsparse-dev-46fad7332eaf32d35edfbae6e15fa3cda31196c2.tar.gz
Update comment about NS_LABEL scoping behaviour, now
that it is fixed.
-rw-r--r--parse.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/parse.c b/parse.c
index ece4b34b..49fb0d40 100644
--- a/parse.c
+++ b/parse.c
@@ -55,9 +55,9 @@ static struct symbol *lookup_or_create_symbol(enum namespace ns, enum type type,
}
/*
- * FIXME! This needs to not just be in a different namespace (NS_LABEL),
- * but also a different "nesting scope", since labels are per-function,
- * not per-block.
+ * NOTE! NS_LABEL is not just a different namespace,
+ * it also ends up using function scope instead of the
+ * regular symbol scope.
*/
static struct symbol *label_symbol(struct token *token)
{