Change syntax of $if, $assert, $include, $echo. Introduces $error

This commit is contained in:
Christoffer Lerno
2023-05-06 12:18:00 +02:00
parent 3dd6675e1b
commit 172d561f07
104 changed files with 338 additions and 336 deletions

View File

@@ -3,7 +3,7 @@ module test;
macro foo()
{
$if ($defined(A))
$if $defined(A):
return A + 1;
$else
return 1;
@@ -12,7 +12,7 @@ macro foo()
const Z = foo();
$if (!$defined(A) && Z == 1)
$if !$defined(A) && Z == 1:
const A = 222;
$endif