diff options
author | Tom Tromey <tromey@redhat.com> | 2012-07-26 20:11:10 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2012-07-26 20:11:10 +0000 |
commit | f2e8016f4120fda5b9b7bd4e739852808fb03f46 (patch) | |
tree | 8915cb002cf229c8c35f6e1d88a17aa969a4122d /gdb/Makefile.in | |
parent | f66713d24ad2c0a2e3d0e480119716f6d75a837e (diff) | |
download | gdb-f2e8016f4120fda5b9b7bd4e739852808fb03f46.zip gdb-f2e8016f4120fda5b9b7bd4e739852808fb03f46.tar.gz gdb-f2e8016f4120fda5b9b7bd4e739852808fb03f46.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r-- | gdb/Makefile.in | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 1c476ad..06f93ce 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -717,7 +717,7 @@ SFILES = ada-exp.y ada-lang.c ada-typeprint.c ada-valprint.c ada-tasks.c \ macrotab.c macroexp.c macrocmd.c macroscope.c main.c maint.c \ mdebugread.c memattr.c mem-break.c minsyms.c mipsread.c memory-map.c \ memrange.c mi/mi-common.c \ - objc-exp.y objc-lang.c \ + objc-lang.c \ objfiles.c osabi.c observer.c osdata.c \ opencl-lang.c \ p-exp.y p-lang.c p-typeprint.c p-valprint.c parse.c printcmd.c \ @@ -935,14 +935,12 @@ REQUIRED_SUBDIRS = doc | testsuite | $(GNULIB_BUILDDIR) | data-directory # For now, shortcut the "configure GDB for fewer languages" stuff. YYFILES = c-exp.c \ cp-name-parser.c \ - objc-exp.c \ ada-lex.c \ ada-exp.c \ jv-exp.c \ f-exp.c go-exp.c m2-exp.c p-exp.c YYOBJ = c-exp.o \ cp-name-parser.o \ - objc-exp.o \ ada-exp.o \ jv-exp.o \ f-exp.o go-exp.o m2-exp.o p-exp.o @@ -1245,7 +1243,6 @@ local-maintainer-clean: rm -f c-exp.c \ cp-name-parser.c \ ada-lex.c ada-exp.c \ - objc-exp.c \ jv-exp.tab \ f-exp.c go-exp.c m2-exp.c p-exp.c rm -f TAGS $(INFOFILES) |