shithub: mc

Download patch

ref: d60e706a5f499863320b9359519438c62a4df303
parent: 2e03b85851952ea90b5cea1928cf4867ae99c693
author: Ori Bernstein <ori@eigenstate.org>
date: Wed Sep 30 20:02:05 EDT 2015

Rename 'sys' to 'tag'

    Systags are becoming more general build tags. We can use
    them for other things like versioning.

--- a/mbld/parse.myr
+++ b/mbld/parse.myr
@@ -291,7 +291,7 @@
 		| ("durable", ""):	durable = true
 		| ("test", ""):	istest = true
 		| ("dep", depname):	deplist = std.slpush(deplist, depname)
-		| ("sys", tag):	systags = std.slpush(systags, tag)
+		| ("tag", tag):	systags = std.slpush(systags, tag)
 		| (attr, ""):
 			failparse(p, "attribute {} not valid on {} targets\n", attr, cmd)
 		| (attr, val):
@@ -378,7 +378,7 @@
 		| ("inc", path):	incpath = std.slpush(incpath, std.sldup(path))
 		| ("noinst", ""):	inst = false
 		| ("test", ""):	istest = true
-		| ("sys", tag):	systags = std.slpush(systags, tag)
+		| ("tag", tag):	systags = std.slpush(systags, tag)
 		| (invalid, _):
 			std.fatal("{}: got invalid attr '{}'\n", targ, invalid)
 		;;