mirror of
https://github.com/janishutz/eth-summaries.git
synced 2026-06-12 17:41:20 +02:00
[FMFP] Modelling
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
\subsubsection{Macros}
|
||||
Promela does \textit{not} support procedures. However, many of the effects (apart from recursion) can be achieved with macros.
|
||||
|
||||
We define them using \mint{promela}|inline name(arg1, arg2) { /* body */ }|
|
||||
As is the case in \texttt{C}, they are simply replaced in the code and thus have no new variable scope, support no recursion and have no return value.
|
||||
Reference in New Issue
Block a user