diff dmd/declaration/Match.d @ 0:10317f0c89a5

Initial commit
author korDen
date Sat, 24 Oct 2009 08:42:06 +0400
parents
children e28b18c23469
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dmd/declaration/Match.d	Sat Oct 24 08:42:06 2009 +0400
@@ -0,0 +1,14 @@
+module dmd.declaration.Match;
+
+import dmd.FuncDeclaration;
+import dmd.MATCH;
+
+struct Match
+{
+	int count;			// number of matches found
+    MATCH last;			// match level of lastf
+    FuncDeclaration lastf;	// last matching function we found
+    FuncDeclaration nextf;	// current matching function
+    FuncDeclaration anyf;	// pick a func, any func, to use for error recovery
+}
+