Skip to content

Commit

Permalink
document restriction on 'declared' attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
bakkot committed Jun 15, 2023
1 parent 25c738f commit 879aa24
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,7 @@ <h2>Example</h2>
<emu-clause id="variable-declarations">
<h1>Variable Declarations</h1>
<p>The linter checks that each used variable in an algorithm step is declared earlier. It recognizes most common forms of declaration automatically, but in case there is a declaration which is not automatically inferred, a variable can be marked as declared for the purposes of this analysis by adding a `[declared="v"]` attribute at the start of the step. Multiple variables can be separated by commas with optional whitespace.</p>
<p>Note that the `[declared="v"]` attribute must be at the beginning of the step, including before any `&lt;ins>` tags.</p>

<h2>Example</h2>
<pre><code class="language-html">
Expand Down

0 comments on commit 879aa24

Please sign in to comment.