Skip to content

Commit

Permalink
Add annotations on functionDeclaration in grammar (#1274)
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Dodd <[email protected]>
  • Loading branch information
ChrisDodd and ChrisDodd authored Mar 24, 2024
1 parent c84896f commit 4efa1fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion p4-16/spec/grammar.mdk
Original file line number Diff line number Diff line change
Expand Up @@ -940,7 +940,8 @@ initializer

// BEGIN:functionDeclaration
functionDeclaration
: functionPrototype blockStatement
: annotations functionPrototype blockStatement
| functionPrototype blockStatement
;
// END:functionDeclaration

Expand Down

0 comments on commit 4efa1fe

Please sign in to comment.