Skip to content

Commit

Permalink
#384 Change matching order of Structure_Constructor and Function_Refe…
Browse files Browse the repository at this point in the history
…rence in primary
  • Loading branch information
sergisiso committed Jul 15, 2024
1 parent 2d8cef7 commit aff096b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/fparser/two/Fortran2003.py
Original file line number Diff line number Diff line change
Expand Up @@ -5628,8 +5628,10 @@ class `Base` matches rules in list order).
"Constant",
"Designator",
"Array_Constructor",
"Structure_Constructor",
# Function_Reference is purposely above Structure_Constructure so if they
# can not be disambiguated, they will be matched as Functions_References
"Function_Reference",
"Structure_Constructor",
"Type_Param_Inquiry",
"Type_Param_Name",
"Parenthesis",
Expand Down

0 comments on commit aff096b

Please sign in to comment.