def keepOriginalText(s,startLoc,t):
try:<EOL><INDENT>endloc = getTokensEndLoc()<EOL><DEDENT>except ParseException:<EOL><INDENT>raise ParseFatalException("<STR_LIT>")<EOL><DEDENT>del t[:]<EOL>t += ParseResults(s[startLoc:endloc])<EOL>return t<EOL>
Helper parse action to preserve original parsed text,
       overriding any nested parse actions.