aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpplib.c
AgeCommit message (Collapse)AuthorFilesLines
1995-06-15Update FSF address.Richard Kenner1-1/+1
From-SVN: r9959
1995-06-08(cpp_push_buffer): Include filename in error message.Richard Kenner1-1/+1
From-SVN: r9901
1995-05-23(initialize_builtins): Add missing parm to timestamp call.Richard Kenner1-1/+1
From-SVN: r9778
1995-05-19* cpplib.c (collect_expansion): Don't escape '@' inside string.Per Bothner1-1/+4
From-SVN: r9744
1995-05-16Use FATAL_EXIT_CODE instead of FAILURE_EXIT_CODE.Richard Kenner1-2/+2
From-SVN: r9725
1995-05-16Fix typos in comments.Richard Kenner1-3/+3
From-SVN: r9711
1995-05-12Fix reporting of unterminated strings.Per Bothner1-123/+37
From-SVN: r9637
1995-05-11cpplib.c (line_for_error): Make it work; add extra parameter.Per Bothner1-41/+32
* cpplib.c (line_for_error): Make it work; add extra parameter. (skip_quoted_string, cpp_get_token): Update calls to line_for_error. (macroexpand): Remember initial line so we can report it if the call is unterminated. Also, simplify error logic slightly. (do_include): Cast alloca return value, to avoid pcc warning. From-SVN: r9635
1995-04-30Bunch of fixes. See ChangeLog.Per Bothner1-92/+181
From-SVN: r9552
1995-04-27Don't include <sys/stat.h> twice.Richard Kenner1-4/+2
(cpp_grow_buffer, init_parse_file): Cast {xmalloc,xrealloc} for token_buffer to U_CHAR* instead of char*. From-SVN: r9507
1995-04-17cpplib.c: Rename make_definition to cpp_define.Per Bothner1-9/+7
* cpplib.c: Rename make_definition to cpp_define. * cpplib.c (special_symbol): For T_SPECLINE, calculate __LINE__ in enclosing file buffer, not current buffer (if macro expanding). (cpp_get_token): Fix thinko (in code for chopping unneeded space). From-SVN: r9403
1995-04-11Bunch of little fixes. See ChangeLog.Per Bothner1-59/+62
From-SVN: r9360
1995-04-10(init_parse_options, cpp_reader): Cast args to bcopy, bcmp, and bzero to char *.Richard Kenner1-5/+6
(init_parse_options, cpp_reader): Cast args to bcopy, bcmp, and bzero to char *. (add_import, push_parse_file, init_parse_file): Likewise. From-SVN: r9352
1995-04-07* cpplib.c (bcopy, bzero, bcmp): Remove #undefs.Per Bothner1-5/+0
From-SVN: r9323
1995-04-06cpplib.c (SELF_DIR_DUMMY): New macro.Per Bothner1-4/+10
* cpplib.c (SELF_DIR_DUMMY): New macro. (do_include): Don't pass searchptr to finclude if it is dsp, since that is on the stack, and would cause a dangling pointer. If handling #include_next, recognize SELF_DIR_DUMMY. From-SVN: r9320
1995-04-05Moved 'high-level' error functions from cpperror.c to cpplib.c.Per Bothner1-2/+220
From-SVN: r9315
1995-03-21Merged in earlier cccp.c changesPer Bothner1-44/+68
From-SVN: r9218
1995-03-16Initial revisionPer Bothner1-0/+7288
From-SVN: r9191