Allow space between "in" and "out" inside intent-spec "inout" #70#71
Allow space between "in" and "out" inside intent-spec "inout" #70#71sgshulman wants to merge 1 commit intosatamas:mainfrom
Conversation
I don't think this is technically correct since 3.3.2.2 prohibits spaces within token and section 5.3.10 lists three allowed tokens for intent-spec: |
|
@sizmailov Thank you for your response. The situation is a bit more complicated. Section 3.3.2.2 starts from:
But several lines below we have:
I do not see any other places (except INTENT), where IN OUT keywords are neighbours. |
|
Yeah, looks like you are right and I'm wrong. I was under impression that people keep adding unnecessary spaces to f90+ sources just because they can (or to honor f77 compiler space-ignoring feature). I've seen dreadful abuses of this: spaces in |
|
What is keeping this PR from being merged? Also does it account for arbitrary whitespace? |
The standard allows this space. For example, see Fortran 2008 standard, section 3.3.2.2 Blank characters in free form.