Skip to content

Commit 3d7de5c

Browse files
author
rasmussn
committed
Allowed whitespace before comment line between continuation lines.
1 parent feda4e1 commit 3d7de5c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/syntax/FortranLex.sdf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ lexical syntax
9090
%%
9191
"&" [\ \t]* ("!" ~[\n\r]*)? EOL ( [\ \t]+ "&" )? -> Continuation
9292
Continuation -> LAYOUT
93-
Continuation "!" ~[\n\r]* EOL -> LAYOUT
93+
Continuation [\ \t]* "!" ~[\n\r]* EOL -> LAYOUT
9494

9595
%% Layout does NOT have a \n since that's part of EOS
9696
[\ \t] -> LAYOUT

0 commit comments

Comments
 (0)