ref: 77ab32804f07545e7a3fcc2b40b5b7b5565091e8
parent: e046fecd8e0736fffc4fd08789a3319af6e544fd
author: Ori Bernstein <ori@eigenstate.org>
date: Fri Apr 10 19:32:45 EDT 2015
Move parser type into parse.myr It's not used anywhere else.
--- a/parse.myr
+++ b/parse.myr
@@ -9,6 +9,14 @@
const load : (b : build#, path : byte[:] -> bool)
;;
+type parser = struct
+ /* parse input */
+ data : byte[:]
+ rest : byte[:]
+ fname : byte[:]
+ line : int
+;;
+
const load = {b, path
var p : parser#