summaryrefslogtreecommitdiff
path: root/gcc/objc
diff options
context:
space:
mode:
authornicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>2011-04-13 04:02:26 +0000
committernicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>2011-04-13 04:02:26 +0000
commitd546b3418d4668cf2de6bb04eae65d50230dc6e7 (patch)
tree2594e67e0d9c7ba31ee7faf01e0d70e8a7ce2e33 /gcc/objc
parent9b88d08d3ad00c838a22d832ff570e96f082f330 (diff)
downloadgcc-d546b3418d4668cf2de6bb04eae65d50230dc6e7.tar.gz
In gcc/objc/:
2011-04-13 Nicola Pero <nicola.pero@meta-innovation.com> * objc-act.c (build_keyword_selector): Use get_identifier_with_length instead of get_identifier. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172360 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/objc')
-rw-r--r--gcc/objc/ChangeLog5
-rw-r--r--gcc/objc/objc-act.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog
index caceac12b5b..c2f67694cff 100644
--- a/gcc/objc/ChangeLog
+++ b/gcc/objc/ChangeLog
@@ -1,3 +1,8 @@
+2011-04-13 Nicola Pero <nicola.pero@meta-innovation.com>
+
+ * objc-act.c (build_keyword_selector): Use get_identifier_with_length
+ instead of get_identifier.
+
2011-04-12 Nathan Froyd <froydnj@codesourcery.com>
* objc-lang.c (objc_init_ts): Move code for this function...
diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c
index 13eef24d04d..419462131af 100644
--- a/gcc/objc/objc-act.c
+++ b/gcc/objc/objc-act.c
@@ -4668,7 +4668,7 @@ build_keyword_selector (tree selector)
strcat (buf, ":");
}
- return get_identifier (buf);
+ return get_identifier_with_length (buf, len);
}
/* Used for declarations and definitions. */