Patent ID: 6802059
Filing Date: 2004-10-05
Classification: G06F

Abstract:
A method for transforming character strings that are contained in computer program source code the method comprising the computer-implemented steps of:automatically parsing the computer program source code to identify a hard coded string that is both contained in the computer program source code and does not already have a corresponding macro string that is uniquely associated with the hard coded string; and in response to identifying a hard coded string that is both contained in the computer program source code and does not already have a corresponding macro string that is uniquely associated with the hard coded string, replacing the hard coded string contained in the computer program source code with a macro string that is uniquely associated with the hard coded string; creating and storing in a mapping of macro strings to hard coded strings, an entry that defines an association between the hard coded string and the macro string that replaced the hard coded string; and generating and storing in the computer program source code a reference to the mapping of macros to strings.