mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-19 14:00:35 +00:00
fixed tuples in a static context; preparations for correct compile time evaluation of integral ops
This commit is contained in:
@@ -74,7 +74,7 @@ Is translated into:
|
||||
printf("%s\x0A", x)
|
||||
else:
|
||||
template OUT*(x: expr): stmt =
|
||||
nil
|
||||
discard
|
||||
|
||||
As can been seen from the example, C's macros with parameters are mapped
|
||||
to Nimrod's templates. This mapping is the best one can do, but it is of course
|
||||
|
||||
Reference in New Issue
Block a user