Skip to content

Commit 5155744

Browse files
committed
comments and directives info in readme
1 parent 4d33919 commit 5155744

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,12 @@ All simple statements are using :xml:`<statement>` node, which wraps around node
197197
* :xml:`<cycle>`
198198
* ...
199199

200+
In addition to the above, nodes :xml:`<comment>` and :xml:`<directive>` exist to carry comments
201+
and preprocessor directives, respectively. These nodes might be in principle inserted before,
202+
after or within any of other nodes, however, in practice they are either surrounding
203+
the top-level nodes (such as program or subroutine) or are placed in-between non-compound
204+
declarations and/or statements within them.
205+
200206
Remaining details of AST are not decided yet. For the time being, to see implementation details,
201207
please take a look into `<src/fortran/ofp/XMLPrinter.java>`_.
202208

0 commit comments

Comments
 (0)