author Nicolas B. Pierron <>
Wed, 01 Oct 2014 19:17:51 +0200
changeset 208230 ed4b995667b58b364d2a7ce9b2111fc22dc1f622
parent 123972 b53bc50a79b294aab47a38bcb2e5ee38f9dddc93
permissions -rw-r--r--
Bug 1074911 - Replace JS_ASSERT by MOZ_ASSERT. r=jorendorff Apply the following script sed -i ' /JS_ASSERT(/ { s/JS_ASSERT(/MOZ_ASSERT(/; :b; s/ \\$/\\/; /;/ { p; d; }; n; s/^/ /; b b; }; s/JS_ASSERT (/MOZ_ASSERT(/; ' Except where the JS_ASSERT macro does not end with a semi-colon, where empty lines are in the middle of the macro, and where the backslahes are always the same-length after the expression.

""" GDB Python customization auto-loader for libxul """
#filter substitution

import os.path
sys.path[0:0] = [os.path.join('@topsrcdir@', 'js', 'src', 'gdb')]

import mozilla.autoload