aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2005-07-07 17:58:16 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2005-07-07 17:58:16 +0200
commitd1e3d6ae11f6d436d0bbbc295e4d5a93a055829d (patch)
tree99bb771816d3b38f2aaf8d4ae3fbb546935bc476 /gcc/function.c
parent4c3a6ca189d0bf3a62b4f529275e0a666543650c (diff)
downloadgcc-d1e3d6ae11f6d436d0bbbc295e4d5a93a055829d.zip
gcc-d1e3d6ae11f6d436d0bbbc295e4d5a93a055829d.tar.gz
gcc-d1e3d6ae11f6d436d0bbbc295e4d5a93a055829d.tar.bz2
scanner.c (load_line): Add pbuflen argument, don't make buflen static.
* scanner.c (load_line): Add pbuflen argument, don't make buflen static. If maxlen == 0 or preprocessor_flag, don't truncate at buflen, but at maxlen. In xrealloc add 1 byte at the end for the terminating '\0'. Don't fill with spaces up to buflen, but gfc_option.fixed_line_length. (load_file): Adjust load_line caller. Add line_len variable. * gfortran.dg/longline.f: New test. From-SVN: r101718
Diffstat (limited to 'gcc/function.c')
0 files changed, 0 insertions, 0 deletions