summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2013-04-11 11:45:59 +0200
committerAraq <rumpf_a@web.de>2013-04-11 11:45:59 +0200
commit1ab598b3367043e77adf9c941dd2b56b088273f8 (patch)
tree44b0cefb80d4c8d370c5c964b665a08d39dd3ea4
parent5b5b02cb151b9cfd87b620867ad196e1f3f65b0d (diff)
downloadNim-1ab598b3367043e77adf9c941dd2b56b088273f8.tar.gz
fixes #283
-rw-r--r--compiler/parser.nim2
-rw-r--r--todo.txt1
2 files changed, 2 insertions, 1 deletions
diff --git a/compiler/parser.nim b/compiler/parser.nim
index 00675c5ba..81adecac2 100644
--- a/compiler/parser.nim
+++ b/compiler/parser.nim
@@ -746,7 +746,7 @@ proc parseProcExpr(p: var TParser, isExpr: bool): PNode =
 proc isExprStart(p: TParser): bool = 
   case p.tok.tokType
   of tkSymbol, tkAccent, tkOpr, tkNot, tkNil, tkCast, tkIf, 
-     tkProc, tkIterator, tkBind, 
+     tkProc, tkIterator, tkBind, tkAddr,
      tkParLe, tkBracketLe, tkCurlyLe, tkIntLit..tkCharLit, tkVar, tkRef, tkPtr, 
      tkTuple, tkObject, tkType, tkWhen, tkCase, tkShared:
     result = true
diff --git a/todo.txt b/todo.txt
index ce3705a20..31b15d1c1 100644
--- a/todo.txt
+++ b/todo.txt
@@ -28,6 +28,7 @@ Bugs
 version 0.9.4
 =============
 
+- macros as type pragmas
 - ``try`` as an expression
 - provide tool/API to track leaks/object counts
 - hybrid GC