mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:17:44 +00:00
JSSpecCompiler: Parse '?' before function calls in xspec mode
This commit is contained in:
parent
b800276347
commit
3d365326af
5 changed files with 20 additions and 1 deletions
|
@ -33,4 +33,12 @@
|
|||
</ol>
|
||||
</emu-alg>
|
||||
</emu-clause>
|
||||
<emu-clause id="3" aoid="TestReturnIfAbrupt">
|
||||
<h1><span class="secnum">3</span> TestReturnIfAbrupt ( <var>a</var> )</h1>
|
||||
<emu-alg>
|
||||
<ol>
|
||||
<li>Return ? <emu-xref><a>WellKnownConstants</a></emu-xref>(<var>a</var>).</li>
|
||||
</ol>
|
||||
</emu-alg>
|
||||
</emu-clause>
|
||||
</specification>
|
||||
|
|
|
@ -46,3 +46,11 @@ TreeList
|
|||
ReturnNode
|
||||
WellKnownNode False
|
||||
|
||||
TestReturnIfAbrupt(a):
|
||||
TreeList
|
||||
ReturnNode
|
||||
UnaryOperation ReturnIfAbrubt
|
||||
FunctionCall
|
||||
Func "WellKnownConstants"
|
||||
Var a
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue