shithub: rgbds

Download patch

ref: 7b54312d9727dd3566f97119fba0304d93dc760d
parent: 5b98beec8b2ff81c8f25229d9d406fd2ec1c1f60
author: ISSOtm <[email protected]>
date: Sat Mar 14 12:50:33 EDT 2020

Deprecate `OPT z` in favor of `OPT p`

Fixes #298

--- a/src/asm/main.c
+++ b/src/asm/main.c
@@ -157,6 +157,9 @@
 		}
 		break;
 	case 'z':
+		warning(WARNING_OBSOLETE, "Option 'z' is a deprecated alias for 'p'");
+		/* fallthrough */
+	case 'p':
 		if (strlen(&s[1]) <= 2) {
 			int32_t result;
 			unsigned int fillchar;
--- a/src/asm/rgbasm.5
+++ b/src/asm/rgbasm.5
@@ -1279,9 +1279,9 @@
 .Ed
 .Pp
 The options that OPT can modify are currently:
-.Cm b , e
+.Cm b , g
 and
-.Cm g .
+.Cm p .
 .Pp
 .Ic POPO
 and
--- a/test/run-tests.sh
+++ b/test/run-tests.sh
@@ -26,7 +26,7 @@
 fi
 pushd pokecrystal
 git fetch
-git checkout 80cf859cd31c3882f8c42dd19e56fcde02b8955c
+git checkout c87f8512a4d736a847dbc69e09c781a29eeaa638
 make clean
 make -j4 compare
 popd