shithub: mc

ref: 8bc429fb93070938b8bc5d459da4f2664c00abae
dir: /mparse/util.myr/

View raw version
use std

use "types.use"

pkg parse =
	$noret const err	: (loc : srcloc, msg : byte[:], args : ... -> void)
	$noret const verr	: (loc : srcloc, msg : byte[:], args : std.valist -> void)
;;

const err = {loc, msg, args
}

const verr = {loc, msg, ap
}