OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
In gcc/:
[pf3gnuchains/gcc-fork.git]
/
gcc
/
objc
/
objc-act.c
diff --git
a/gcc/objc/objc-act.c
b/gcc/objc/objc-act.c
index
dffdb71
..
5aaadc6
100644
(file)
--- a/
gcc/objc/objc-act.c
+++ b/
gcc/objc/objc-act.c
@@
-821,6
+821,9
@@
objc_start_method_definition (tree decl, tree attributes)
return false;
}
+ if (decl != NULL_TREE && METHOD_SEL_NAME (decl) == error_mark_node)
+ return false;
+
if (attributes)
warning_at (input_location, OPT_Wattributes,
"method attributes are not available in this version"