diff options
Diffstat (limited to 'compiler/pendx.nim')
-rwxr-xr-x | compiler/pendx.nim | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/compiler/pendx.nim b/compiler/pendx.nim new file mode 100755 index 000000000..debe0d852 --- /dev/null +++ b/compiler/pendx.nim @@ -0,0 +1,23 @@ +# +# +# The Nimrod Compiler +# (c) Copyright 2009 Andreas Rumpf +# +# See the file "copying.txt", included in this +# distribution, for details about the copyright. +# + +import + llstream, scanner, idents, strutils, ast, msgs, pnimsyn + +proc ParseAll*(p: var TParser): PNode +proc parseTopLevelStmt*(p: var TParser): PNode + # implements an iterator. Returns the next top-level statement or nil if end + # of stream. +# implementation + +proc ParseAll(p: var TParser): PNode = + result = nil + +proc parseTopLevelStmt(p: var TParser): PNode = + result = nil |