mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00
Regenerated scanners
This commit is contained in:
parent
032d140fd6
commit
877f97cde1
2 changed files with 7 additions and 7 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* Generated by re2c 0.13.5 on Sun Jan 1 17:47:27 2012 */
|
/* Generated by re2c 0.13.5 on Tue Jan 17 11:54:12 2012 */
|
||||||
#line 1 "Zend/zend_language_scanner.l"
|
#line 1 "Zend/zend_language_scanner.l"
|
||||||
/*
|
/*
|
||||||
+----------------------------------------------------------------------+
|
+----------------------------------------------------------------------+
|
||||||
|
@ -4490,11 +4490,11 @@ yy365:
|
||||||
if (CG(active_class_entry)
|
if (CG(active_class_entry)
|
||||||
&& (ZEND_ACC_TRAIT ==
|
&& (ZEND_ACC_TRAIT ==
|
||||||
(CG(active_class_entry)->ce_flags & ZEND_ACC_TRAIT))) {
|
(CG(active_class_entry)->ce_flags & ZEND_ACC_TRAIT))) {
|
||||||
// This is a hack, we abuse IS_NULL to indicate an invalid value
|
/* We create a special __CLASS__ constant that is going to be resolved
|
||||||
// if __CLASS__ is encountered in a trait, however, we also not that we
|
at run-time */
|
||||||
// should fix it up when we copy the method into an actual class
|
zendlval->value.str.len = sizeof("__CLASS__")-1;
|
||||||
zendlval->value.lval = ZEND_ACC_TRAIT;
|
zendlval->value.str.val = estrndup("__CLASS__", zendlval->value.str.len);
|
||||||
zendlval->type = IS_NULL;
|
zendlval->type = IS_CONSTANT;
|
||||||
} else {
|
} else {
|
||||||
if (CG(active_class_entry)) {
|
if (CG(active_class_entry)) {
|
||||||
class_name = CG(active_class_entry)->name;
|
class_name = CG(active_class_entry)->name;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* Generated by re2c 0.13.5 on Tue Sep 13 17:29:49 2011 */
|
/* Generated by re2c 0.13.5 on Tue Jan 17 11:54:12 2012 */
|
||||||
#line 3 "Zend/zend_language_scanner_defs.h"
|
#line 3 "Zend/zend_language_scanner_defs.h"
|
||||||
|
|
||||||
enum YYCONDTYPE {
|
enum YYCONDTYPE {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue