This commit was manufactured by cvs2svn to create tag 'buildscript'.
[IRC.git] / Robust / src / Lex / Comment.java
diff --git a/Robust/src/Lex/Comment.java b/Robust/src/Lex/Comment.java
deleted file mode 100644 (file)
index 2e02ff4..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-package Lex;
-
-abstract class Comment extends InputElement {
-  private StringBuffer comment = new StringBuffer();
-
-  String getComment() {
-    return comment.toString();
-  }
-
-  void appendLine(String more) { // 'more' is '\n' terminated.
-    int i=0;
-
-    // skip leading white space.
-    for (; i<more.length(); i++)
-      if (!Character.isSpaceChar(more.charAt(i)))
-       break;
-
-    // skip any leading stars.
-    for (; i<more.length(); i++)
-      if (more.charAt(i)!='*')
-       break;
-
-    // the rest of the string belongs to the comment.
-    if (i<more.length())
-      comment.append(more.substring(i));
-  }
-
-}