diff options
author | Araq <rumpf_a@web.de> | 2013-04-11 11:45:59 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2013-04-11 11:45:59 +0200 |
commit | 1ab598b3367043e77adf9c941dd2b56b088273f8 (patch) | |
tree | 44b0cefb80d4c8d370c5c964b665a08d39dd3ea4 | |
parent | 5b5b02cb151b9cfd87b620867ad196e1f3f65b0d (diff) | |
download | Nim-1ab598b3367043e77adf9c941dd2b56b088273f8.tar.gz |
fixes #283
-rw-r--r-- | compiler/parser.nim | 2 | ||||
-rw-r--r-- | todo.txt | 1 |
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 |