From: m b <elt...@gm...> - 2008-09-17 09:04:22
|
svn1177 watcom 1.7a win98 this was part of a larger program so the values to replace are made up, was editing a program to change seq:replace to eu:replace since replace is now builtin. I don't think it should be a machine exception or this kind of parse error. include std/sequence.e as seq include std/regex.e as re -- sequence s = replace("z","a", 1) --properly get a chosen warning -- sequence s = eq:replace("z","a", 1) --correctly catches ns error, unknown command sequence s = seq:replace("z","a", 1) --parse error -- Argument 4 of replace (M_CRASH_MESSAGE) is defaulted, but has no default value -- <end-of-file> sequence s = seq:replace("z","a", 1, 1) --machine exception |