Browse Source

distinguish the quote character from quoted symbols

master
nisstyre56 11 years ago
parent
commit
863d62623f
  1. 4
      tokenize.c

4
tokenize.c

@ -272,10 +272,10 @@ match_symbol(source_t source,
return false; return false;
} }
i++; i++;
while (!isspace(source[i]) && i <= length) { while (!isspace(source[i]) && i < length) {
i++; i++;
} }
if (i == begin) { if (i == begin+1) { /* if we did not increment i more than once (before the loop) */
return false; return false;
} }
return i; return i;