]> git.jsancho.org Git - gacela.git/commitdiff
(no commit message)
authorjsancho <devnull@localhost>
Wed, 14 Sep 2011 15:08:51 +0000 (15:08 +0000)
committerjsancho <devnull@localhost>
Wed, 14 Sep 2011 15:08:51 +0000 (15:08 +0000)
src/gacela.c

index 036b3fa9ef3075d3eae7404564495240d1a7d01c..af78da97433302a1a775cd16ffdbb95fe72972a0 100644 (file)
@@ -178,6 +178,10 @@ opened_parens (char *line, int k)
            && line[i - 1] != '\\')
              break;
     }
+    else if (line[i] == ';') {
+      // Comment until endline
+      break;
+    }
     else if (line[i] == c)
       opened++;
     else if (line[i] == k)