* Makefile.in (SFILES): Remove objc-exp.y.
(YYFILES): Remove objc-exp.c. (YYOBJ): Remove objc-exp.o. (local-maintainer-clean): Don't mention objc-exp.c. * c-exp.y: Include objc-lang.h. (%union) <class>: New field. (NSSTRING, SELECTOR, CLASSNAME, OBJC_LBRAC): New tokens. (exp): Clone subscript production for OBJC_LBRAC. Add various Objective C productions. (msglist, msgarglist, msgarg): New productions. (array_mod, func_mod, operator): Clone productions for OBJC_LBRAC. (parse_string_or_char): Handle '@' strings. (lex_one_token): Return OBJC_LBRAC. Recognize @selector. (classify_name): Check la_name_of_this. Recognize ObjC class names. * objc-exp.y: Remove. * objc-lang.c (objc_language_defn): Use c_parse, c_error. * objc-lang.h (objc_parse, objc_error): Don't declare. gdb/testsuite * gdb.objc/print.exp (test_float_accepted): Remove kfails.
This commit is contained in:
parent
f66713d24a
commit
f2e8016f41
8 changed files with 180 additions and 1809 deletions
|
@ -27,10 +27,6 @@ struct stoken;
|
|||
struct value;
|
||||
struct block;
|
||||
|
||||
extern int objc_parse (void); /* Defined in c-exp.y */
|
||||
|
||||
extern void objc_error (char *); /* Defined in c-exp.y */
|
||||
|
||||
extern CORE_ADDR lookup_objc_class (struct gdbarch *gdbarch,
|
||||
char *classname);
|
||||
extern CORE_ADDR lookup_child_selector (struct gdbarch *gdbarch,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue