diff --git a/compiler/parser.nim b/compiler/parser.nim index 00675c5ba1..81adecac21 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 ce3705a206..31b15d1c14 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