tools: Recognize backslashes in Kconfigs with CR+LF line endings

This commit is contained in:
Roland Dobai
2019-01-30 15:13:20 +01:00
parent d7a7a6835b
commit d1dd3ab0d3

View File

@@ -151,7 +151,7 @@ n [A-Za-z0-9_-]
return T_WORD; return T_WORD;
} }
#.* /* comment */ #.* /* comment */
\\\n current_file->lineno++; \\\r?\n current_file->lineno++;
[[:blank:]]+ [[:blank:]]+
. warn_ignored_character(*yytext); . warn_ignored_character(*yytext);
<<EOF>> { <<EOF>> {