Skip to content

Commit 94456ab

Browse files
authored
Update static_analysis.md
1 parent 98bc89e commit 94456ab

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

_docs/instructor/static_analysis.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,13 @@ Running `/usr/local/submitty/SubmittyAnalysisTools/diagnostics -l python file.py
123123
```
124124

125125
The ``token`` fields specify tokens that can be given to ``submitty_count``.
126+
Notice that a token ``Plus`` is present between two ``IntegerLiteral`` tokens.
127+
You could verify that this is the right token by looking at the ``start_line``, ``end_line``, ``start_col``, and ``end_col`` fields, which indicate on what row and column the tokens begin and end within the file.
128+
Once you are sure that the token is correct, you could count it within student submissions with ``submitty_count``:
129+
130+
```
131+
submitty_count -l python *.py
132+
```
126133

127134
### Tokens
128135

0 commit comments

Comments
 (0)