@@ 42-53 (lines=12) @@ | ||
39 | $g_op = '+'; |
|
40 | } |
|
41 | ||
42 | switch ($this->token_ahead) { |
|
43 | case '>': |
|
44 | $g_val = ARGRANTCHILDREN; |
|
45 | $this->get_token(); |
|
46 | break; |
|
47 | case '=': |
|
48 | $g_val = ARGRANTLOCAL; |
|
49 | $this->get_token(); |
|
50 | break; |
|
51 | default: |
|
52 | $g_val = ARGRANTGLOBAL; |
|
53 | } |
|
54 | ||
55 | if ($this->token_ahead === '[') { |
|
56 | $this->get_token(); |
|
@@ 80-91 (lines=12) @@ | ||
77 | if ($this->token_ahead === '(') { |
|
78 | $this->get_token(); |
|
79 | do { |
|
80 | switch ($this->token_ahead) { |
|
81 | case '>': |
|
82 | $m_val = ARGRANTCHILDREN; |
|
83 | $this->get_token(); |
|
84 | break; |
|
85 | case '=': |
|
86 | $m_val = ARGRANTLOCAL; |
|
87 | $this->get_token(); |
|
88 | break; |
|
89 | default: |
|
90 | $m_val = $g_val; |
|
91 | } |
|
92 | if ($this->token_ahead != T_G_IDENT) { |
|
93 | $this->error = 'expected modifier near: '.$this->input; |
|
94 | return 0; |