Made the parser skip all comments.
authorMarco Zanon <info@marcozanon.com>
Thu, 18 Oct 2012 21:09:37 +0000 (21:09 +0000)
committerMarco Zanon <info@marcozanon.com>
Thu, 18 Oct 2012 21:09:37 +0000 (21:09 +0000)
3.x/src/java/com/marcozanon/macaco/text/MTranslator.java

index 86ec598d9430be8b859de913399f64b2c18225b4..2e58ff3e5ae641171322493b958489d299754ac5 100644 (file)
@@ -99,6 +99,9 @@ public class MTranslator extends MObject {
                     message = null;
                     continue;
                 }
+                else if ((line.startsWith("#")) || (line.startsWith(";"))) {
+                    continue;
+                }
                 else if (null == message) {
                     message = line;
                     if (this.getMessagesReference().containsKey(message)) {