mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 09:40:21 +00:00
14 lines
196 B
Perl
14 lines
196 B
Perl
|
|
local mymacro = macro(function(a)
|
|
a = a:asvalue()
|
|
print(a, terralib.issymbol(a), terralib.unsafetypeofsymbol(a))
|
|
return {}
|
|
end)
|
|
|
|
|
|
|
|
terra foo(a : int)
|
|
mymacro(a)
|
|
end
|
|
|
|
foo:compile() |