diff --git a/lib/skin_parser/skin_scan.c b/lib/skin_parser/skin_scan.c index 79f7162aab..6b5c189b9f 100644 --- a/lib/skin_parser/skin_scan.c +++ b/lib/skin_parser/skin_scan.c @@ -121,7 +121,7 @@ char* scan_string(char** document) if(*cursor == '\n') { - skin_error(UNEXPECTED_NEWLINE); + skin_error(UNEXPECTED_NEWLINE, cursor); return NULL; }