From: Sven R. <rei...@ma...> - 2002-11-06 16:36:01
|
I added a few more tests for rename temp. It looks that so far it does a simple text replacement (after extracting the correct variable name from the declaration). I could make some more of these tests run, but only with some crude hacks. What do you think of one further parsing step that splits an expression into tokens (applied only when it contains the string we're interested in)? Tokens so far are just legal identifier names, "::", "->" and "."; the rest can be kept as source code. Sven. -- Sven Reichard Dept. of Math. Sci. University of Delaware rei...@ma... |