We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a333f0 commit a3779d8Copy full SHA for a3779d8
src/Language/Fortran/Parser/Fixed/Fortran77.y
@@ -607,7 +607,9 @@ POINTER_LIST :: { [ Declarator A0 ] }
607
| POINTER { [ $1 ] }
608
609
POINTER :: { Declarator A0 }
610
-: '(' VARIABLE ',' VARIABLE ')'
+: '(' VARIABLE ',' VARIABLE '(' DIMENSION_DECLARATORS ')' ')'
611
+ { Declarator () (getTransSpan $1 $8) $2 (ArrayDecl (aReverse $6)) Nothing (Just $4) }
612
+| '(' VARIABLE ',' VARIABLE ')'
613
{ Declarator () (getTransSpan $1 $5) $2 ScalarDecl Nothing (Just $4) }
614
615
COMMON_GROUPS :: { AList CommonGroup A0 }
0 commit comments