mirror of
https://github.com/boostorg/build.git
synced 2026-02-14 00:32:11 +00:00
Handle \n and \r escape sequences
[SVN r49775]
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user