mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
@ is now part of the name of an attribute or a macro. Macros without '@' must be function-like.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user