2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-14 12:42:11 +00:00

Handle \n and \r escape sequences

[SVN r49775]
This commit is contained in:
Vladimir Prus
2008-11-15 22:02:35 +00:00
parent 3166e502a4
commit c549e85b34

View File

@@ -314,6 +314,10 @@ int yylex()
else if ( ( c = yychar() ) != EOF )
{
/* \c */
if (c == 'n')
c = '\n';
else if (c == 'r')
c = '\r';
*b++ = c;
notkeyword = 1;
}