aboutsummaryrefslogtreecommitdiff
path: root/gcc/cppmacro.c
AgeCommit message (Expand)AuthorFilesLines
2001-09-05* cppmacro.c (funlike_invocation_p): No need to restore context.Neil Booth1-6/+1
2001-08-21cppfiles.c (stack_include_file): line-map.c now handles include depth.Neil Booth1-4/+4
2001-08-17cpperror.c (print_location): Don't take a file name; use the line map instead.Neil Booth1-9/+5
2001-08-11cppmacro.c (enter_macro_context): Push macro expansions even if empty.Neil Booth1-9/+5
2001-08-11c-lex.c (map): Make const.Neil Booth1-1/+1
2001-08-05re PR preprocessor/3081 (Preprocessor merges 2 first lines when -imacros is b...Neil Booth1-17/+15
2001-08-04Makefile.in (CPPLIB_H): New, so that dependencies on cpplib.h are also on lin...Neil Booth1-7/+3
2001-08-01alias.c: Fix comment formatting.Kazu Hirata1-1/+1
2001-08-01cpphash.h (struct cpp_reader): New members line, pseudo_newlines.Neil Booth1-1/+8
2001-07-29cppexp.c (parse_defined): Always record the macro name.Neil Booth1-1/+1
2001-06-23cppmacro.c (make_string_token): Avoid warning.Neil Booth1-7/+13
2001-06-21re PR preprocessor/3260 (#include __FILE__ broken)Neil Booth1-1/+2
2001-05-20Makefile.in (OBJS, [...]): Update.Neil Booth1-1/+2
2001-05-16cppexp.c (lex): Use NODE_NAME and NODE_LEN.Neil Booth1-16/+17
2001-03-27* cppmacro.c (stringify_arg): Null terminate strings.Neil Booth1-2/+4
2001-03-07c-parse.in (yylexname): New function, split out of _yylex.Zack Weinberg1-2/+1
2001-03-03cpplex.c (_cpp_lex_token): Don't warn about directives in macro arguments whe...Neil Booth1-3/+5
2001-03-03cpp.texi: Update.Neil Booth1-2/+2
2001-02-25cppinit.c (builtin_array): Update.Neil Booth1-30/+22
2001-02-14c-lex.c (lex_number): Only warn traditionally for U suffix outside system mac...Neil Booth1-2/+18
2001-02-06* cppmacro.c (cpp_get_token): Avoid pasting after a builtin.Neil Booth1-0/+1
2001-02-04cppinit.c (BC): New macro.Mark Mitchell1-0/+4
2001-02-01cpphash.h (struct cpp_buffer): Move saved_flags from cpp_reader.Neil Booth1-15/+15
2001-01-31cpphash.h (struct cpp_reader): New saved_flags.Neil Booth1-2/+7
2001-01-28cpphash.c (_cpp_cleanup_hashtable, [...]): Don't set fe_value.Neil Booth1-11/+21
2001-01-20cppmacro.c (funlike_invocation_p): Don't move back up to the context of the t...Neil Booth1-9/+1
2001-01-09cppinit.c (cpp_cleanup): NULLify macro_buffer and zero macro_buffer_len.Alexandre Oliva1-2/+5
2000-12-17cpplib.h (struct cpp_reader): Remove references to string_pool and temp_strin...Neil Booth1-8/+4
2000-12-11cpperror.c (print_location): New function.Neil Booth1-13/+7
2000-12-09cppfiles.c (NEVER_REREAD, [...]): Move from cpphash.h.Neil Booth1-17/+16
2000-12-03cppmacro.c (funlike_invocation_p): Re-disable macros enabled by contexts drop...Neil Booth1-10/+17
2000-12-01cppinit.c (initialize): Forgotten prototype.Neil Booth1-14/+13
2000-11-28cppmacro.c (cpp_scan_buffer_nooutput): Take a boolean indicating whether to s...Neil Booth1-2/+3
2000-11-27cppinit.c (cpp_reader_init): Remove handling of warn_paste command line options.Neil Booth1-5/+8
2000-11-26cppmacro.c (cpp_scan_buffer_nooutput): Only scan the current buffer.Neil Booth1-1/+2
2000-11-26cpplib.h (struct cpp_reader): Remove lang_asm.Neil Booth1-3/+3
2000-11-20cppmacro.c (paste_tokens): Rename from paste_payloads.Neil Booth1-74/+84
2000-11-19Warning fixes:Kaveh R. Ghazi1-1/+1
2000-11-15cpplib.c (start_directive, [...]): New functions.Neil Booth1-1/+4
2000-11-14cppexp.c (parse_defined): Call cpp_get_token not _cpp_get_token.Neil Booth1-30/+26
2000-11-13cpplex.c (_cpp_lex_token): CPP_COMMENT and true CPP_EOF cases return without ...Neil Booth1-44/+36
2000-11-12cppexp.c: Don't worry about pfile->skipping.Neil Booth1-31/+9
2000-11-11Remove CPP_PLACEMARKERsNeil Booth1-130/+112
2000-11-09cpphash.c: Move cpp_defined here from cpplib.c.Neil Booth1-15/+12
2000-11-08Move directive handling into the lexer itself.Neil Booth1-25/+0
2000-11-06c-lex.c (c_lex): Replace tok.val.aux with tok.val.c or tok.val.arg_no as appr...Neil Booth1-8/+8
2000-11-01c-parse.in (_yylex): Remove CPP_BACKSLASH case.Neil Booth1-1/+1
2000-10-31cppmacro.c (STDC_0_IN_SYSTEM_HEADERS): Define to 0 if undefined.Neil Booth1-3/+5
2000-10-30cppfiles.c (stack_include_file): Check for stacked contexts here.Neil Booth1-15/+29
2000-10-30* cppmacro.c (builtin_macro): Use NT_VOID, not T_VOID.Mark Mitchell1-1/+1