Skip to content

Commit

Permalink
Update BSV_lang.tex
Browse files Browse the repository at this point in the history
Fix a typo in the grammar rule for shorthands in ActionValue method definitions: the semicolon after implicitCond is required, not optional.
  • Loading branch information
chiahsuantw authored and quark17 committed Jan 17, 2025
1 parent a67cac8 commit 32f1996
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/BSV_ref_guide/BSV_lang.tex
Original file line number Diff line number Diff line change
Expand Up @@ -2669,7 +2669,7 @@ \subsubsection{Shorthands for Action and ActionValue method definitions}

\gram{methodDef}{ \term{method} \term{ActionValue} \term{\#(} \nterm{type} \term{)} \nterm{identifier}
\term{(} \nterm{methodFormals} \term{)} } \\
\grammore { \hmmmm \opt{ \nterm{implicitCond} \term{;} } } \\
\grammore { \hmmmm \opt{ \nterm{implicitCond} } \term{;} } \\
\grammore{ \hmm \many{ \nterm{actionValueStmt} } } \\
\grammore{ \term{endmethod} \opt{ \term{:} \nterm{identifier} } }

Expand Down

0 comments on commit 32f1996

Please sign in to comment.