fix comments in yml theme files
This commit is contained in:
committed by
Peter Feerick
parent
ab9d026f17
commit
2c7e175b56
@@ -71,7 +71,7 @@ void ThemeFile::scanFile()
|
|||||||
} else if (lineNo != 1) {
|
} else if (lineNo != 1) {
|
||||||
if (line[0] != ' ' && line[0] != '\t') {
|
if (line[0] != ' ' && line[0] != '\t') {
|
||||||
char *pline = trim(line);
|
char *pline = trim(line);
|
||||||
if (line[strlen(line) - 1] != ':') {
|
if (line[strlen(line) - 1] != ':' && pline[0] != '#') {
|
||||||
TRACE("invalid yml file at line %d", lineNo);
|
TRACE("invalid yml file at line %d", lineNo);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user