diff options
| author | Linus Torvalds <torvalds@penguin.transmeta.com> | 2003-03-31 16:28:13 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-07 20:59:57 -0700 |
| commit | 46fad7332eaf32d35edfbae6e15fa3cda31196c2 (patch) | |
| tree | 7fbae8d1bc0dbd8fab7d22ca5b616749c43486d8 | |
| parent | 91234dcb89f1d8883a79dd1edb9b520d9fff5571 (diff) | |
| download | sparse-dev-46fad7332eaf32d35edfbae6e15fa3cda31196c2.tar.gz | |
Update comment about NS_LABEL scoping behaviour, now
that it is fixed.
| -rw-r--r-- | parse.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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) { |
