summary refs log tree commit diff stats
path: root/nim/pendx.pas
diff options
context:
space:
mode:
Diffstat (limited to 'nim/pendx.pas')
-rwxr-xr-xnim/pendx.pas36
1 files changed, 36 insertions, 0 deletions
diff --git a/nim/pendx.pas b/nim/pendx.pas
new file mode 100755
index 000000000..e23229e28
--- /dev/null
+++ b/nim/pendx.pas
@@ -0,0 +1,36 @@
+//
+//
+//           The Nimrod Compiler
+//        (c) Copyright 2009 Andreas Rumpf
+//
+//    See the file "copying.txt", included in this
+//    distribution, for details about the copyright.
+//
+unit pendx;
+
+{$include config.inc}
+
+interface
+
+uses
+  nsystem, llstream, scanner, idents, strutils, ast, msgs, pnimsyn;
+
+function ParseAll(var p: TParser): PNode;
+
+function parseTopLevelStmt(var p: TParser): PNode;
+// implements an iterator. Returns the next top-level statement or nil if end
+// of stream.
+
+implementation
+
+function ParseAll(var p: TParser): PNode;
+begin
+  result := nil
+end;
+
+function parseTopLevelStmt(var p: TParser): PNode;
+begin
+  result := nil
+end;
+
+end.