Skip to content

Commit 5dff069

Browse files
committed
#384 Change matching order of Structure_Constructor and Function_Reference in primary
1 parent 2d8cef7 commit 5dff069

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/fparser/two/Fortran2003.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5628,8 +5628,10 @@ class `Base` matches rules in list order).
56285628
"Constant",
56295629
"Designator",
56305630
"Array_Constructor",
5631-
"Structure_Constructor",
5631+
# Function purposely above Structure_Constructure to prefer it when
5632+
# they can not be disabiguated
56325633
"Function_Reference",
5634+
"Structure_Constructor",
56335635
"Type_Param_Inquiry",
56345636
"Type_Param_Name",
56355637
"Parenthesis",

0 commit comments

Comments
 (0)