blob: debe0d85226d6bac993481184765c40b074296f9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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
|