Issue #403 - Special DEBUG change to 'see' tabs
This commit is contained in:
parent
2aeb2eeb7a
commit
b58abe30d0
|
@ -63,6 +63,9 @@ static tmbstr get_text_string(Lexer* lexer, Node *node)
|
|||
if (c == '\n') {
|
||||
buffer[i++] = '\\';
|
||||
buffer[i++] = 'n';
|
||||
} else if (c == '\t') {
|
||||
buffer[i++] = '\\';
|
||||
buffer[i++] = 't';
|
||||
} else if ( c == ' ' ) {
|
||||
if (!insp)
|
||||
buffer[i++] = c;
|
||||
|
@ -84,6 +87,9 @@ static tmbstr get_text_string(Lexer* lexer, Node *node)
|
|||
if (c == '\n') {
|
||||
buffer[i++] = '\\';
|
||||
buffer[i++] = 'n';
|
||||
} else if (c == '\t') {
|
||||
buffer[i++] = '\\';
|
||||
buffer[i++] = 't';
|
||||
} else if ( c == ' ' ) {
|
||||
if (!insp)
|
||||
buffer[i++] = c;
|
||||
|
@ -116,6 +122,9 @@ static tmbstr get_text_string(Lexer* lexer, Node *node)
|
|||
if (c == '\n') {
|
||||
buffer[i++] = '\\';
|
||||
buffer[i++] = 'n';
|
||||
} else if (c == '\t') {
|
||||
buffer[i++] = '\\';
|
||||
buffer[i++] = 't';
|
||||
} else if ( c == ' ' ) {
|
||||
if (!insp)
|
||||
buffer[i++] = c;
|
||||
|
|
Loading…
Reference in a new issue