@ is now part of the name of an attribute or a macro. Macros without '@' must be function-like.

This commit is contained in:
Christoffer Lerno
2022-05-08 15:22:38 +02:00
parent 29a9769651
commit 9691d50a6f
80 changed files with 414 additions and 513 deletions

View File

@@ -3,7 +3,7 @@ module test;
import libc;
import std::io;
macro timeit(#call)
macro @timeit(#call)
{
long t = (long)libc::clock();
var $Type = $typeof(#call);