fixed tuples in a static context; preparations for correct compile time evaluation of integral ops

This commit is contained in:
Araq
2014-03-22 02:52:06 +01:00
parent fb5ece805f
commit e53fc91282
5 changed files with 30 additions and 4 deletions

View File

@@ -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