Skip to content

Commit a4b0ab7

Browse files
committed
add type to format declaration
1 parent f5f77ab commit a4b0ab7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/fortran/ofp/XMLPrinter.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1965,6 +1965,8 @@ public void format_stmt(Token label, Token formatKeyword, Token eos) {
19651965
if (verbosity >= 60)
19661966
super.format_stmt(label, formatKeyword, eos);
19671967
contextClose();
1968+
if (context.getTagName().equals("declaration"))
1969+
setAttribute("type", "format");
19681970
}
19691971

19701972
public void format_specification(boolean hasFormatItemList) {

0 commit comments

Comments
 (0)