fixed tuples in a static context; preparations for correct compile time evaluation of integral ops
This commit is contained in:
parent
fb5ece805f
commit
e53fc91282
5 changed files with 30 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue