Files
mercury/scripts/replace_compiler___.sedscript
Dylan Shuttleworth c15baa3537 Some scripts to change some labels of the format foo__bar to
Estimated hours taken: 10

Some scripts to change some labels of the format foo__bar to
module__foo_bar, in both the library and the compiler.  None of these
scripts are executable, and need to be run with
~fjh/bin/scripts/apply_sed_script.  The scope of files listed below is
an indication of the files affected when these scripts are run on
mercury/*/*.[mp]*.

scripts/remove____from_compiler.sedscript
	Remove instances of foo__bar from .m and .pp files in the
	compiler/ directory.

scripts/remove____from_library.sedscript
	romove instances of foo__bar from .m files in the library/
	and compiler/ directories.

scripts/replace_compiler___.sedscript
	Undo the compiler-specific changes above.

scripts/replace_library___.sedscript
	Undo the library changes in the compiler/ and library/
	directories.
1995-12-01 02:27:20 +00:00

9 lines
256 B
Plaintext

s/vn_[a-z]*__\([a-z_]*\)\>/vn__\1/g
s/\<value_number__/vn__/g
s/hlds__is_builtin/is_builtin_/g
s/hlds__dependency_info/dependency_info_/g
s/unify_proc__info_/unify_proc_info__/g
s/transform__reschedule_conj/reschedule__conj/g
s/mercury_to_c__gen/c__gen/g