diff options
author | Martin Odersky <odersky@gmail.com> | 2003-08-12 13:19:08 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2003-08-12 13:19:08 +0000 |
commit | 9d675361a36be28c25797fc2a0b4f2e1c44a366c (patch) | |
tree | a486cf7e83c07d331fe2e6886c59266f71cde736 /sources/scalac/ast/parser/Parser.java | |
parent | 183d279b2c8ad670173089853ee0bf59a9f8ab2b (diff) | |
download | scala-9d675361a36be28c25797fc2a0b4f2e1c44a366c.tar.gz scala-9d675361a36be28c25797fc2a0b4f2e1c44a366c.tar.bz2 scala-9d675361a36be28c25797fc2a0b4f2e1c44a366c.zip |
*** empty log message ***
Diffstat (limited to 'sources/scalac/ast/parser/Parser.java')
-rw-r--r-- | sources/scalac/ast/parser/Parser.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sources/scalac/ast/parser/Parser.java b/sources/scalac/ast/parser/Parser.java index a32d9243c8..55405821ef 100644 --- a/sources/scalac/ast/parser/Parser.java +++ b/sources/scalac/ast/parser/Parser.java @@ -324,7 +324,7 @@ public class Parser implements Tokens { new Tree[]{finalizer}); return t; } - +/* Tree makeWhile(int pos, Tree cond, Tree body) { return make.Apply( @@ -347,7 +347,7 @@ public class Parser implements Tokens { Names.While), new Tree[]{cond}); } - +*/ Tree makeWhile(int pos, Name lname, Tree cond, Tree body) { Tree continu = make.Apply( pos, make.Ident(pos, lname), Tree.EMPTY_ARRAY); @@ -863,7 +863,7 @@ public class Parser implements Tokens { accept(RPAREN); Tree body = expr(); loopNestingDepth--; - return makeWhile(pos/*, lname*/, cond, body); + return makeWhile(pos, lname, cond, body); } else if (s.token == DO) { Name lname = Name.fromString("label$" + loopNestingDepth); loopNestingDepth++; |