This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/34899] Continuation lines with <tab><number> not recognized



------- Comment #5 from jvdelisle at gcc dot gnu dot org  2008-01-22 03:12 -------
With Tobias patch, the example code in comment 4 compiles with or without a tab
preceding the 1 digit.  It also works with 0 to 5 spaces preceding the tab and
fails with anything between the tab and the first digit 1.  So I think the
patch is safe.  Call it a legacy feature, it gives a warning with -std=f95 or
-pedantic

(rant) That being said, With all the brain power out there writing extremely
complex code, you would think some one would just right the simple conversion
program and get rid of all the tabs and handle the special case once and for
all.  It ain't that hard folks to fix your damn code. :) whooo! that felt good.

Of course this patch is only about 15 lines of code.

Maybe I should post a Fortran -std=f95 compliant program on the wiki,  Call it
"TabStripper.f"


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34899


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]