Revert "config handles comments better"

This reverts commit e9c3a9016f.
This commit is contained in:
Drew DeVault 2015-08-18 08:05:34 -04:00
parent 2139001c9f
commit 868cb3ca71

View file

@ -41,7 +41,7 @@ void strip_comments(char *str) {
} else if (str[i] == '\'' && !in_string) {
in_character = !in_character;
} else if (!in_character && !in_string) {
if (str[i] == '#') {
if (str[i] == '#' && i == 0) {
str[i] = '\0';
break;
}