Skip to content

Commit

Permalink
Fixed bug #42590 (Make the engine recornize \v and \f escape sequences)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilia Alshanetsky committed Sep 9, 2007
1 parent e041a39 commit 8ff3149
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Zend/zend_language_scanner.l
Original file line number Diff line number Diff line change
Expand Up @@ -819,6 +819,14 @@ static void zend_scan_escape_string(zval *zendlval, char *str, int len, char quo
*t++ = '\t';
zendlval->value.str.len--;
break;
case 'f':
*t++ = '\f';
zendlval->value.str.len--;
break;
case 'v':
*t++ = '\v';
zendlval->value.str.len--;
break;
case '"':
case '`':
if (*s != quote_type) {
Expand Down

0 comments on commit 8ff3149

Please sign in to comment.