--- parser3/tests/400.html 2020/06/26 15:46:14 1.1
+++ parser3/tests/400.html 2024/12/10 21:39:20 1.3
@@ -15,6 +15,11 @@ X: ^test345[X]
X: ^fail[X]
Y: ^fail[Y] ^rem{will work without OPTIMIZE_CALL}
+Z: ^gpf345[]
+
+first call wcontext: ^json:string[^v1[]] ^json:string[^v1[R]] ^json:string[^v1[]] ^json:string[^v1[R]]
+first call result: ^json:string[^v2[R]] ^json:string[^v2[]] ^json:string[^v2[R]] ^json:string[^v2[]]
+
@test[value]
no result
^if($value eq 'X'){
@@ -41,3 +46,12 @@ no result
}
$result[result]
+
+@gpf345[]
+^return{code}
+
+@v1[r]
+w ^if($r eq 'R'){ $result[R] } W
+
+@v2[r]
+w ^if($r eq 'R'){ $result[R] } W