diff parser_old_c.rhope @ 101:f4fc0a98088a

Fixed some bugs that were preventing compiled compiler from working correctly. Need to address memory usage
author Mike Pavone <pavone@retrodev.com>
date Mon, 09 Aug 2010 23:53:20 -0400
parents f51c4c17457c
children fd23ab2c1a73 25a205094f9b
line wrap: on
line diff
--- a/parser_old_c.rhope	Mon Aug 09 02:03:57 2010 -0400
+++ b/parser_old_c.rhope	Mon Aug 09 23:53:20 2010 -0400
@@ -856,11 +856,11 @@
 			fields <- Fold[Process Blueprint Field[?, ?, params], (), Filter[Map[body lines, Trim[?,"\n\r\t "]], Not Empty[?]]]
 			new tree <- [tree]Blueprints << [ [[tree]Blueprints >>]Set[name, New Blueprint Definition[name, fields]] ]
 			out <- Null[~, params, new tree, [lines] + [more lines]]
-		} {} {
+		} {} {} {
 			out <- [tree]Errors <<[ [[tree]Errors >>]Append[Parse Error["Error",[["Blueprint is missing an block close symbol \""]Append[[params]Block End >>]]Append["\""], lines]] ]
 		}
 		
-	} {} {
+	} {} {} {
 		out <- [tree]Errors <<[ [[tree]Errors >>]Append[Parse Error["Error",[["Blueprint is missing an block open symbol \""]Append[[params]Block Begin >>]]Append["\""], lines]] ]
 	}
 }