OSDN Git Service

In gcc/objc/:
authornicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 13 Apr 2011 04:02:26 +0000 (04:02 +0000)
committernicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 13 Apr 2011 04:02:26 +0000 (04:02 +0000)
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

gcc/objc/ChangeLog
gcc/objc/objc-act.c

index caceac1..c2f6769 100644 (file)
@@ -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...
index 13eef24..4194621 100644 (file)
@@ -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.  */