Diff for /embedaddon/php/Zend/zend_ini_scanner.l between versions 1.1.1.2 and 1.1.1.3

version 1.1.1.2, 2012/05/29 12:34:35 version 1.1.1.3, 2013/07/22 01:32:15
Line 2 Line 2
    +----------------------------------------------------------------------+     +----------------------------------------------------------------------+
    | Zend Engine                                                          |     | Zend Engine                                                          |
    +----------------------------------------------------------------------+     +----------------------------------------------------------------------+
   | Copyright (c) 1998-2012 Zend Technologies Ltd. (http://www.zend.com) |   | Copyright (c) 1998-2013 Zend Technologies Ltd. (http://www.zend.com) |
    +----------------------------------------------------------------------+     +----------------------------------------------------------------------+
    | This source file is subject to version 2.00 of the Zend license,     |     | This source file is subject to version 2.00 of the Zend license,     |
    | that is bundled with this package in the file LICENSE, and is        |     | that is bundled with this package in the file LICENSE, and is        |
Line 445  SECTION_VALUE_CHARS ([^$\n\r;"'\]\\]|("\\"{ANY_CHAR})| Line 445  SECTION_VALUE_CHARS ([^$\n\r;"'\]\\]|("\\"{ANY_CHAR})|
         return '=';          return '=';
 }  }
   
<ST_RAW>{RAW_VALUE_CHARS}+ { /* Raw value, only used when SCNG(scanner_mode) == ZEND_INI_SCANNER_RAW. */<ST_RAW>{RAW_VALUE_CHARS} { /* Raw value, only used when SCNG(scanner_mode) == ZEND_INI_SCANNER_RAW. */
         char *sc = NULL;
         while (YYCURSOR < YYLIMIT) {
                 switch (*YYCURSOR) {
                         case '\n':
                         case '\r':
                                 goto end_raw_value_chars;
                                 break;
                         case ';':
                                 if (sc == NULL) {
                                         sc = YYCURSOR;
                                 }
                                 /* no break */
                         default:
                                 YYCURSOR++;
                                 break;
                 }
         }
 end_raw_value_chars:
         yyleng = YYCURSOR - SCNG(yy_text);
 
         /* Eat trailing semicolons */
         while (yytext[yyleng - 1] == ';') {
                 yyleng--;
         }
 
         /* Eat leading and trailing double quotes */          /* Eat leading and trailing double quotes */
         if (yytext[0] == '"' && yytext[yyleng - 1] == '"') {          if (yytext[0] == '"' && yytext[yyleng - 1] == '"') {
                 SCNG(yy_text)++;                  SCNG(yy_text)++;
                 yyleng = yyleng - 2;                  yyleng = yyleng - 2;
           } else if (sc) {
                   YYCURSOR = sc;
                   yyleng = YYCURSOR - SCNG(yy_text);
         }          }
         RETURN_TOKEN(TC_RAW, yytext, yyleng);          RETURN_TOKEN(TC_RAW, yytext, yyleng);
 }  }

Removed from v.1.1.1.2  
changed lines
  Added in v.1.1.1.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>