[Scummvm-cvs-logs] CVS: tools descumm.cpp,1.94,1.95
Max Horn
fingolfin at users.sourceforge.net
Mon Oct 4 08:03:09 CEST 2004
Update of /cvsroot/scummvm/tools
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9429
Modified Files:
descumm.cpp
Log Message:
Remove confusing interjection
Index: descumm.cpp
===================================================================
RCS file: /cvsroot/scummvm/tools/descumm.cpp,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -d -r1.94 -r1.95
--- descumm.cpp 1 Oct 2004 23:40:15 -0000 1.94
+++ descumm.cpp 4 Oct 2004 14:58:18 -0000 1.95
@@ -27,14 +27,10 @@
while(Condition) {
}
add code to detect tail while loops, i.e. something of the kind
- doÊ{
+ do {
} while(Condition);
In V2-V5, those are the most frequent type of loops (and in V6-V8 they
sometimes occur, too).
- In some cases it might be preferable to emit a
- repeat {
- } until(!Condition)
- Namely then when the condition has to be negated.
However, implementing this might be quite tricky, and require us to refactor the
code, because unlike a "head if/while", we don't know we are inside a loop until its
More information about the Scummvm-git-logs
mailing list