From d9d82fb0af8688e7c847bb7b0c3b2e38f7c8a735 Mon Sep 17 00:00:00 2001 From: Zahary Karadjov Date: Wed, 3 Oct 2012 21:11:41 +0300 Subject: syntax compatibility between do blocks and stmt blocks See the section `do notation` in the manual for more info. * nkMacroStmt has been removed Macro statements are now mapped to regular nkCall nodes. The support for additional clauses (such as else, except, of, etc) have been restored - they will now appear as additional arguments for the nkCall node (as nkElse, nkExcept, etc nodes) * fixed some regressions in the `is` operator and semCompiles --- lib/impure/graphics.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/impure') diff --git a/lib/impure/graphics.nim b/lib/impure/graphics.nim index 1d538b790..b3bc578d0 100755 --- a/lib/impure/graphics.nim +++ b/lib/impure/graphics.nim @@ -22,7 +22,7 @@ type PSurface* = ref TSurface ## a surface to draw onto TSurface* {.pure, final.} = object - w*, h*: int + w*, h*: Natural s*: sdl.PSurface EGraphics* = object of EIO -- cgit 1.4.1-2-gfad0