From: jsancho Date: Wed, 14 Sep 2011 15:08:51 +0000 (+0000) Subject: (no commit message) X-Git-Url: https://git.jsancho.org/?a=commitdiff_plain;h=2b16a26e491d79c04c92f7a79ff72347ff617601;hp=a626f3f11b50e1495d0900eea563511c5e23bc27;p=gacela.git --- diff --git a/src/gacela.c b/src/gacela.c index 036b3fa..af78da9 100644 --- a/src/gacela.c +++ b/src/gacela.c @@ -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)