This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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]

Is a tab one or 7 chars when it comes to fitting on a punch card ?


fixed format source code.  

 cat -T l.f
!234567890123456789012345678901234567890123456789012345678901234567890123456789      
!        1         2         3         4         5         6         7 
^I                                                              INTEGER A

this is deceptive, because cat displayed the tab as a ^I, so the text is shown shifted right one
position.

g77 accepted this.  gfortran does not:

$ gfortran l.f
l.f:3.69:

                                                                     INT
                                                                    1
Error: Unclassifiable statement at (1)



is this a bug ?


--bud


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