Permalink
Browse files

Fix ReplaceAll on multiple statements.

  • Loading branch information...
saurik
saurik committed Jul 13, 2010
1 parent 2b57021 commit fceaf49d85658ebcb2961fdda134e6b444837bf5
Showing with 1 addition and 1 deletion.
  1. +1 −1 Parser.hpp
View
@@ -354,7 +354,7 @@ struct CYContext {
void ReplaceAll(Type_ *&values) {
Type_ **last(&values);
CYForEach (next, values) {
- Replace(*last);
+ Replace(*last = next);
last = &(*last)->next_;
}
}

0 comments on commit fceaf49

Please sign in to comment.