X-Git-Url: http://git.cascardo.eti.br/?p=cascardo%2Fdeclara.git;a=blobdiff_plain;f=lib%2Ftoken.c;h=78a409b2e74b329f8e0eeae90ef62939f1036f4e;hp=da2b8bc712b5ff91774c5b7b3dcf700dfc78515b;hb=94d10d64b5e8c37dd83073d7f86e514dca20bb39;hpb=508ef3422e69128889501ea4e551eb2640db4eeb diff --git a/lib/token.c b/lib/token.c index da2b8bc..78a409b 100644 --- a/lib/token.c +++ b/lib/token.c @@ -53,7 +53,9 @@ static char * token_next(char *line, char **end) start = line; while (isspace(*start)) start++; - if (*start == '"') { + if (*start == '#') { + lend = start; + } else if (*start == '"') { lend = start + 1; while (*lend) { cend = *lend;