shithub: mc

Download patch

ref: 5b2417b3ca17e3d3b5256280d202d577db302bfa
parent: c782bfb900fdda8645f8dfe47aae345e21540633
author: Ori Bernstein <ori@eigenstate.org>
date: Sat Jan 2 15:09:24 EST 2016

Add 'consts.myr'

	Global symbolic constants.

--- a/lib/std/bld.sub
+++ b/lib/std/bld.sub
@@ -10,6 +10,7 @@
 	chartype.myr
 	clear.myr
 	cmp.myr
+	consts.myr
 	cstrconv.myr
 	die.myr
 	dirname.myr
--- /dev/null
+++ b/lib/std/consts.myr
@@ -1,0 +1,7 @@
+use "syswrap.use"
+
+pkg std =
+	const In	: fd = 0
+	const Out	: fd = 1
+	const Err	: fd = 1
+;;