diff options
author | Nikita Popov <nikic@php.net> | 2015-01-17 18:03:42 +0100 |
---|---|---|
committer | Nikita Popov <nikic@php.net> | 2015-01-17 18:26:44 +0100 |
commit | 83391b5518619cce7d2a1baf5a4434b1690a33d1 (patch) | |
tree | db1260fe6f7edad337bb0bfb5a292219305976f0 /Zend/zend_ini_scanner.l | |
parent | dc9991b167533c7ee13ff96da6048988e6e31bc2 (diff) | |
download | php-git-83391b5518619cce7d2a1baf5a4434b1690a33d1.tar.gz |
Remove for #-style comments in ini files
Diffstat (limited to 'Zend/zend_ini_scanner.l')
-rw-r--r-- | Zend/zend_ini_scanner.l | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Zend/zend_ini_scanner.l b/Zend/zend_ini_scanner.l index 77625dded9..d846e1b0f6 100644 --- a/Zend/zend_ini_scanner.l +++ b/Zend/zend_ini_scanner.l @@ -636,13 +636,6 @@ end_raw_value_chars: return END_OF_LINE; } -<INITIAL>{TABS_AND_SPACES}*[#][^\r\n]*{NEWLINE} { /* #Comment */ - zend_error(E_DEPRECATED, "Comments starting with '#' are deprecated in %s on line %d", zend_ini_scanner_get_filename(), SCNG(lineno)); - BEGIN(INITIAL); - SCNG(lineno)++; - return END_OF_LINE; -} - <ST_VALUE,ST_RAW>[^] { /* End of option value (if EOF is reached before EOL */ BEGIN(INITIAL); return END_OF_LINE; |