From fcbfb4fbd224b24bcfd3614c21dee32edca5a70b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Sat, 2 Apr 2016 21:18:20 +0200 Subject: [PATCH] geckolib: Define JS_DEBUG to fix generation, and fix escape --- ports/geckolib/tools/regen_style_structs.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ports/geckolib/tools/regen_style_structs.sh b/ports/geckolib/tools/regen_style_structs.sh index 8470a305c79..d4f3b822415 100755 --- a/ports/geckolib/tools/regen_style_structs.sh +++ b/ports/geckolib/tools/regen_style_structs.sh @@ -65,6 +65,7 @@ fi -no-type-renaming \ -DMOZILLA_INTERNAL_API \ -DMOZ_STYLO_BINDINGS=1 \ + -DJS_DEBUG=1 \ -DDEBUG=1 -DTRACING=1 -DOS_POSIX=1 \ -DIMPL_LIBXUL \ -match "RefCountType.h" \ @@ -130,7 +131,7 @@ fi "$DIST_INCLUDE/nsStyleStruct.h" if [ $? -ne 0 ]; then - echo -e "\e[91warning:\e[0m bindgen exited with nonzero exit status" + echo -e "\e[91mwarning:\e[0m bindgen exited with nonzero exit status" else echo -e "\e[34minfo:\e[0m bindgen exited successfully, running tests" TESTS_FILE=$(mktemp)