Closed ZedThree closed 1 year ago
Comments after line continuations are still a bit broken as it doesn't handle the &
at the start of the next line:
write(*, "('Testing line continuation')", &
& advance='no', & ! Comment after line continuation
& iostat=istat)
gives:
(write_statement
(unit_identifier)
(format_identifier (string_literal))
(keyword_argument (identifier) (string_literal))
- (ERROR
- (comment)
- (UNEXPECTED '&')))
+ (comment)
+ (keyword_argument (identifier) (identifier)))
New features:
block
construct[real(real64) :: 1, 2, 3]
use
statements withoutonly
:use module, foo => bar
(I didn't even know this was legal!)select rank
and assumed rank (dimension(..)
)Fixes:
::
in variable declarations:integer::x
pubic/private
) incontains
section of derived type definitionsclose
statements with unit specifier and keyword argumentsPlus tests for all of the above
Closes #3 Closes #47 Closes #73