File: fixed_form_line_limit.f

package info (click to toggle)
lfortran 0.60.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 58,416 kB
  • sloc: cpp: 173,406; f90: 80,491; python: 17,586; ansic: 9,610; yacc: 2,356; sh: 1,401; fortran: 895; makefile: 38; javascript: 15
file content (18 lines) | stat: -rw-r--r-- 1,157 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
c        1         2         3         4         5         6         7 
c     789012345678901234567890123456789012345678901234567890123456789012
      program test                                                      <-
      int                                                               <-
     $eger a                                                            <-
      print *, "this is a test to see if the fixed form parser properly " <- that quote mark is in c73
     $ignores text past column 72"
      print *, "test that we can still see the quote in the last column"<-
      print *, "test that we avoid double "" lookahead in col 73       ""
      print *, "                                  end-of-line double """"
c The next line only has text past column 72
                                                                        00770402
c     The next pattern is used to do continuations in code that is read
c     by both fixed-form AND free-form parsers
      a=                                                                &
     &     5                                                            &
     &     + 3
      end program