diff options
author | paltherr <paltherr@epfl.ch> | 2003-06-19 11:03:20 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2003-06-19 11:03:20 +0000 |
commit | c7392f4c45c0d5008afafd8746a8eb6610f67db2 (patch) | |
tree | 35cc4544af3c132f6395c2a77e07a5ccf7ba734f /sources/meta/scalac | |
parent | 0e1e141430164cf481708939eff82ff27cbd0ede (diff) | |
download | scala-c7392f4c45c0d5008afafd8746a8eb6610f67db2.tar.gz scala-c7392f4c45c0d5008afafd8746a8eb6610f67db2.tar.bz2 scala-c7392f4c45c0d5008afafd8746a8eb6610f67db2.zip |
- Added empty switch
Diffstat (limited to 'sources/meta/scalac')
-rw-r--r-- | sources/meta/scalac/ast/MetaTree.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sources/meta/scalac/ast/MetaTree.java b/sources/meta/scalac/ast/MetaTree.java index a8b5979636..74ddd49657 100644 --- a/sources/meta/scalac/ast/MetaTree.java +++ b/sources/meta/scalac/ast/MetaTree.java @@ -207,5 +207,12 @@ public class MetaTree extends AbstractTreeExpander { writer.println("this." + symbol + " = " + symbol + ";"); } + public void printEmptyCases() { + for (int i = 0;i < tree.nodes.length;i++) { + tree.nodes[i].printCase(writer, false).println(); + writer.println(); + } + } + //######################################################################## } |