diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-11-06 22:54:02 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-11-06 22:54:02 +0000 |
commit | 82aed0bcc2c5fc27ad678aaa9139cc8f9dc9c092 (patch) | |
tree | 25c63505391546da240b0afa5c0a6798bd3432fb /gdb/objc-exp.y | |
parent | b562167718094431f90232de8f9427c04adeb83d (diff) | |
download | gdb-82aed0bcc2c5fc27ad678aaa9139cc8f9dc9c092.tar.gz |
2003-11-06 Andrew Cagney <cagney@redhat.com>
* valops.c (destructor_name_p): Replace STREQN with strncmp.
* top.c (command_line_input): Ditto.
* objc-exp.y (yylex): Ditto.
* minsyms.c (prim_record_minimal_symbol_and_info): Ditto.
* jv-exp.y (yylex): Ditto.
* f-exp.y (yylex): Ditto.
* event-top.c (command_line_handler): Ditto.
* environ.c (get_in_environ): Ditto.
(set_in_environ): Ditto.
* dwarfread.c (handle_producer): Ditto.
* dbxread.c (process_one_symbol): Ditto.
* c-typeprint.c (c_type_print_base): Ditto.
* c-exp.y (yylex): Ditto.
2003-11-06 Andrew Cagney <cagney@redhat.com>
* mi-cmd-var.c (mi_cmd_var_set_format): Replace STREQN with
strncmp.
Diffstat (limited to 'gdb/objc-exp.y')
-rw-r--r-- | gdb/objc-exp.y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/objc-exp.y b/gdb/objc-exp.y index d47fd687d03..f6123e6ab1d 100644 --- a/gdb/objc-exp.y +++ b/gdb/objc-exp.y @@ -1592,7 +1592,7 @@ yylex () if (STREQN (tokstart, "unsigned", 8)) return UNSIGNED; if (current_language->la_language == language_cplus - && STREQN (tokstart, "template", 8)) + && strncmp (tokstart, "template", 8) == 0) return TEMPLATE; if (STREQN (tokstart, "volatile", 8)) return VOLATILE_KEYWORD; @@ -1609,7 +1609,7 @@ yylex () break; case 5: if ((current_language->la_language == language_cplus) - && STREQN (tokstart, "class", 5)) + && strncmp (tokstart, "class", 5) == 0) return CLASS; if (STREQN (tokstart, "union", 5)) return UNION; |