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;
}
#.* /* comment */
\\\n current_file->lineno++;
\\\r?\n current_file->lineno++;
[[:blank:]]+
. warn_ignored_character(*yytext);
<<EOF>> {