Skip to content
Snippets Groups Projects
Commit 83252520 authored by jakub's avatar jakub
Browse files

* 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.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101718 138bc75d-0d04-0410-961f-82ee72b054a4
parent 06bca32a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment