Новости | FAQ | Авторы | Документация | В действии | Библиотека |
Инструменты | Полезные ссылки | Хостинги | Скачать | Примеры | Форум |
Александр Петросян (PAF) 16.12.2005 16:47
сижу отлаживаю странное сообщение об ошибке:@main[] $xdoc[^xdoc::create[root]] $cloned[^xdoc.firstChild.cloneNode(false)] OK!заглянул в байт-код:
[Fri Dec 16 16:41:07 2005] [3804] source----------------------------| [Fri Dec 16 16:41:07 2005] [3804] WITH_ROOT [Fri Dec 16 16:41:07 2005] [3804] VALUE "xdoc" string [Fri Dec 16 16:41:07 2005] [3804] OBJECT_POOL [Fri Dec 16 16:41:07 2005] [3804] VALUE "xdoc" string [Fri Dec 16 16:41:07 2005] [3804] GET_CLASS [Fri Dec 16 16:41:07 2005] [3804] PREPARE_TO_CONSTRUCT_OBJECT [Fri Dec 16 16:41:07 2005] [3804] VALUE "create" string [Fri Dec 16 16:41:07 2005] [3804] GET_ELEMENT [Fri Dec 16 16:41:07 2005] [3804] CALL__WRITE [Fri Dec 16 16:41:07 2005] [3804] VALUE "root" string [Fri Dec 16 16:41:07 2005] [3804] STORE_PARAM [Fri Dec 16 16:41:07 2005] [3804] CONSTRUCT_VALUE [Fri Dec 16 16:41:07 2005] [3804] STRING__WRITE "|" string [Fri Dec 16 16:41:07 2005] [3804] WITH_ROOT [Fri Dec 16 16:41:07 2005] [3804] VALUE "cloned" string [Fri Dec 16 16:41:07 2005] [3804] OBJECT_POOL [Fri Dec 16 16:41:07 2005] [3804] WITH_READ [Fri Dec 16 16:41:07 2005] [3804] VALUE "xdoc" string [Fri Dec 16 16:41:07 2005] [3804] GET_ELEMENT [Fri Dec 16 16:41:07 2005] [3804] VALUE "firstChild" string [Fri Dec 16 16:41:07 2005] [3804] GET_ELEMENT [Fri Dec 16 16:41:07 2005] [3804] VALUE "cloneNode" string [Fri Dec 16 16:41:07 2005] [3804] GET_ELEMENT [Fri Dec 16 16:41:07 2005] [3804] CALL__WRITE [Fri Dec 16 16:41:07 2005] [3804] CONSTRUCT_VALUE [Fri Dec 16 16:41:07 2005] [3804] STRING__WRITE "|OK!" string [Fri Dec 16 16:41:07 2005] [3804] execution-------------------------| [Fri Dec 16 16:41:07 2005] [3804] 1:WITH_ROOT [Fri Dec 16 16:41:07 2005] [3804] 2:VALUE [Fri Dec 16 16:41:07 2005] [3804] "xdoc" string [Fri Dec 16 16:41:07 2005] [3804] 3:OBJECT_POOL [Fri Dec 16 16:41:07 2005] [3804] source----------------------------| [Fri Dec 16 16:41:07 2005] [3804] VALUE "xdoc" string [Fri Dec 16 16:41:07 2005] [3804] GET_CLASS [Fri Dec 16 16:41:08 2005] [3804] PREPARE_TO_CONSTRUCT_OBJECT [Fri Dec 16 16:41:08 2005] [3804] VALUE "create" string [Fri Dec 16 16:41:08 2005] [3804] GET_ELEMENT [Fri Dec 16 16:41:08 2005] [3804] CALL__WRITE [Fri Dec 16 16:41:08 2005] [3804] VALUE "root" string [Fri Dec 16 16:41:08 2005] [3804] STORE_PARAM [Fri Dec 16 16:41:08 2005] [3804] execution-------------------------| [Fri Dec 16 16:41:08 2005] [3804] 3:VALUE [Fri Dec 16 16:41:08 2005] [3804] "xdoc" string [Fri Dec 16 16:41:08 2005] [3804] 4:GET_CLASS [Fri Dec 16 16:41:08 2005] [3804] 4:PREPARE_TO_CONSTRUCT_OBJECT [Fri Dec 16 16:41:08 2005] [3804] 4:VALUE [Fri Dec 16 16:41:08 2005] [3804] "create" string [Fri Dec 16 16:41:08 2005] [3804] 5:GET_ELEMENT [Fri Dec 16 16:41:08 2005] [3804] 4:CALL__WRITE [Fri Dec 16 16:41:08 2005] [3804] (4)| [Fri Dec 16 16:41:08 2005] [3804] VALUE "root" string [Fri Dec 16 16:41:08 2005] [3804] STORE_PARAM [Fri Dec 16 16:41:08 2005] [3804] ->| [Fri Dec 16 16:41:08 2005] [3804] source----------------------------| [Fri Dec 16 16:41:08 2005] [3804] VALUE "root" string [Fri Dec 16 16:41:08 2005] [3804] STORE_PARAM [Fri Dec 16 16:41:08 2005] [3804] execution-------------------------| [Fri Dec 16 16:41:08 2005] [3804] 4:VALUE [Fri Dec 16 16:41:08 2005] [3804] "root" string [Fri Dec 16 16:41:08 2005] [3804] 5:STORE_PARAM [Fri Dec 16 16:41:08 2005] [3804] <-returned [Fri Dec 16 16:41:08 2005] [3804] 4:CONSTRUCT_VALUE [Fri Dec 16 16:41:08 2005] [3804] 1:STRING__WRITE [Fri Dec 16 16:41:08 2005] [3804] "|" [Fri Dec 16 16:41:08 2005] [3804] 1:WITH_ROOT [Fri Dec 16 16:41:08 2005] [3804] 2:VALUE [Fri Dec 16 16:41:08 2005] [3804] "cloned" string [Fri Dec 16 16:41:08 2005] [3804] 3:OBJECT_POOL [Fri Dec 16 16:41:08 2005] [3804] source----------------------------| [Fri Dec 16 16:41:08 2005] [3804] WITH_READ [Fri Dec 16 16:41:08 2005] [3804] VALUE "xdoc" string [Fri Dec 16 16:41:08 2005] [3804] GET_ELEMENT [Fri Dec 16 16:41:08 2005] [3804] VALUE "firstChild" string [Fri Dec 16 16:41:08 2005] [3804] GET_ELEMENT [Fri Dec 16 16:41:08 2005] [3804] VALUE "cloneNode" string [Fri Dec 16 16:41:08 2005] [3804] GET_ELEMENT [Fri Dec 16 16:41:08 2005] [3804] CALL__WRITE [Fri Dec 16 16:41:08 2005] [3804] execution-------------------------| [Fri Dec 16 16:41:08 2005] [3804] 3:WITH_READ [Fri Dec 16 16:41:08 2005] [3804] 4:VALUE [Fri Dec 16 16:41:08 2005] [3804] "xdoc" string [Fri Dec 16 16:41:08 2005] [3804] 5:GET_ELEMENT [Fri Dec 16 16:41:08 2005] [3804] 4:VALUE [Fri Dec 16 16:41:08 2005] [3804] "firstChild" string [Fri Dec 16 16:41:08 2005] [3804] 5:GET_ELEMENT [Fri Dec 16 16:41:08 2005] [3804] 4:VALUE [Fri Dec 16 16:41:08 2005] [3804] "cloneNode" string [Fri Dec 16 16:41:08 2005] [3804] 5:GET_ELEMENT [Fri Dec 16 16:41:08 2005] [3804] 4:CALL__WRITE [Fri Dec 16 16:41:08 2005] [3804] (0)| [Fri Dec 16 16:41:08 2005] [3804] ->| [Fri Dec 16 16:41:08 2005] [3804] : Y:/parser3project/parser3/www/htdocs/_bug.html(3:26): 'cloneNode' native method of xnode (xnode) accepts minimum 1 parameter(s) (0 present) [parser.runtime]тут видно, что действительно (false) не попал в байт-код, т.е. даже не скомпилился.
// parser3/src/main/compile.C yydebug=1;видим…
Starting parse Entering state 0 Reading a token: Next token is 64 ('@') Shifting token 64 ('@'), Entering state 2 Reading a token: Next token is 258 (STRING "main") Shifting token 258 (STRING), Entering state 21 Reading a token: Next token is 91 ('[') Shifting token 91 ('['), Entering state 53 Reading a token: Next token is 93 (']') Reducing via rule 171 (line 638), -> empty state stack now 0 2 21 53 Entering state 98 Reducing via rule 21 (line 261), empty -> maybe_strings state stack now 0 2 21 53 Entering state 96 Next token is 93 (']') Shifting token 93 (']'), Entering state 135 Reducing via rule 20 (line 260), '[' maybe_strings ']' -> bracketed_maybe_strin gs state stack now 0 2 21 Entering state 54 Reading a token: Next token is 10 ('\n') Reducing via rule 171 (line 638), -> empty state stack now 0 2 21 54 Entering state 101 Reducing via rule 18 (line 259), empty -> maybe_bracketed_strings state stack now 0 2 21 54 Entering state 99 Next token is 10 ('\n') Reducing via rule 171 (line 638), -> empty state stack now 0 2 21 54 99 Entering state 139 Reducing via rule 25 (line 264), empty -> maybe_comment state stack now 0 2 21 54 99 Entering state 138 Next token is 10 ('\n') Shifting token 10 ('\n'), Entering state 199 Reducing via rule 16 (line 219), -> @1 state stack now 0 2 21 54 99 138 199 Entering state 242 Reading a token: Next token is 36 ('$') Shifting token 36 ('$'), Entering state 3 Reading a token: Next token is 258 (STRING "xdoc") Shifting token 258 (STRING), Entering state 22 Reading a token: Next token is 91 ('[') Reducing via rule 104 (line 497), STRING -> name_expr_value state stack now 0 2 21 54 99 138 199 242 3 Entering state 42 Next token is 91 ('[') Reducing via rule 96 (line 478), name_expr_value -> name_expr_dive_code state stack now 0 2 21 54 99 138 199 242 3 Entering state 37 Reducing via rule 51 (line 324), name_expr_dive_code -> name_expr_wdive_root state stack now 0 2 21 54 99 138 199 242 3 Entering state 34 Reducing via rule 48 (line 320), name_expr_wdive_root -> name_expr_wdive state stack now 0 2 21 54 99 138 199 242 3 Entering state 33 Next token is 91 ('[') Shifting token 91 ('['), Entering state 72 Reducing via rule 57 (line 353), -> @2 state stack now 0 2 21 54 99 138 199 242 3 33 72 Entering state 107 Reading a token: Next token is 94 ('^') Shifting token 94 ('^'), Entering state 4 Reducing via rule 70 (line 400), -> @4 state stack now 0 2 21 54 99 138 199 242 3 33 72 107 4 Entering state 49 Reading a token: Next token is 258 (STRING "xdoc") Shifting token 258 (STRING), Entering state 22 Reading a token: Next token is 58 (':') Shifting token 58 (':'), Entering state 57 Reducing via rule 119 (line 542), STRING ':' -> class_static_prefix state stack now 0 2 21 54 99 138 199 242 3 33 72 107 4 49 Entering state 47 Reading a token: Next token is 58 (':') Shifting token 58 (':'), Entering state 86 Reducing via rule 120 (line 554), class_static_prefix ':' -> class_constructor_ prefix state stack now 0 2 21 54 99 138 199 242 3 33 72 107 4 49 Entering state 48 Reducing via rule 118 (line 540), class_constructor_prefix -> class_prefix state stack now 0 2 21 54 99 138 199 242 3 33 72 107 4 49 Entering state 66 Reading a token: Next token is 258 (STRING "create") Shifting token 258 (STRING), Entering state 79 Reading a token: Next token is 91 ('[') Reducing via rule 104 (line 497), STRING -> name_expr_value state stack now 0 2 21 54 99 138 199 242 3 33 72 107 4 49 66 Entering state 65 Next token is 91 ('[') Reducing via rule 102 (line 490), name_expr_value -> name_advance2 state stack now 0 2 21 54 99 138 199 242 3 33 72 107 4 49 66 Entering state 41 Reducing via rule 45 (line 312), name_advance2 -> name_without_curly_rdive_code state stack now 0 2 21 54 99 138 199 242 3 33 72 107 4 49 66 Entering state 84 Reducing via rule 44 (line 311), class_prefix name_without_curly_rdive_code -> name_without_curly_rdive_class state stack now 0 2 21 54 99 138 199 242 3 33 72 107 4 49 Entering state 31 Reducing via rule 42 (line 288), name_without_curly_rdive_class -> name_without _curly_rdive state stack now 0 2 21 54 99 138 199 242 3 33 72 107 4 49 Entering state 87 Reducing via rule 73 (line 419), name_without_curly_rdive -> call_name state stack now 0 2 21 54 99 138 199 242 3 33 72 107 4 49 Entering state 88 Reducing via rule 71 (line 403), -> @5 state stack now 0 2 21 54 99 138 199 242 3 33 72 107 4 49 88 Entering state 131 Next token is 91 ('[') Shifting token 91 ('['), Entering state 190 Reducing via rule 79 (line 427), -> @6 state stack now 0 2 21 54 99 138 199 242 3 33 72 107 4 49 88 131 190 Entering state 233 Reading a token: Next token is 258 (STRING "root") Shifting token 258 (STRING), Entering state 244 Reading a token: Next token is 93 (']') Reducing via rule 94 (line 472), STRING -> code_param_value state stack now 0 2 21 54 99 138 199 242 3 33 72 107 4 49 88 131 190 233 Entering state 248 Reducing via rule 90 (line 447), code_param_value -> store_code_param_part state stack now 0 2 21 54 99 138 199 242 3 33 72 107 4 49 88 131 190 233 Entering state 247 Reducing via rule 84 (line 435), store_code_param_part -> store_code_param_part s state stack now 0 2 21 54 99 138 199 242 3 33 72 107 4 49 88 131 190 233 Entering state 246 Next token is 93 (']') Reducing via rule 80 (line 430), -> @7 state stack now 0 2 21 54 99 138 199 242 3 33 72 107 4 49 88 131 190 233 246 Entering state 256 Next token is 93 (']') Shifting token 93 (']'), Entering state 260 Reducing via rule 81 (line 432), '[' @6 store_code_param_parts @7 ']' -> store_ square_param state stack now 0 2 21 54 99 138 199 242 3 33 72 107 4 49 88 131 Entering state 195 Reducing via rule 76 (line 422), store_square_param -> store_param state stack now 0 2 21 54 99 138 199 242 3 33 72 107 4 49 88 131 Entering state 194 Reducing via rule 74 (line 421), store_param -> store_params state stack now 0 2 21 54 99 138 199 242 3 33 72 107 4 49 88 131 Entering state 193 Reading a token: Next token is 257 (EON) Shifting token 257 (EON), Entering state 240 Reducing via rule 72 (line 406), '^' @4 call_name @5 store_params EON -> call_v alue state stack now 0 2 21 54 99 138 199 242 3 33 72 107 Entering state 18 Reducing via rule 69 (line 394), call_value -> call state stack now 0 2 21 54 99 138 199 242 3 33 72 107 Entering state 17 Reducing via rule 35 (line 272), call -> action state stack now 0 2 21 54 99 138 199 242 3 33 72 107 Entering state 143 Reading a token: Next token is 93 (']') Reducing via rule 67 (line 390), action -> codes__excluding_sole_str_literal state stack now 0 2 21 54 99 138 199 242 3 33 72 107 Entering state 147 Reducing via rule 66 (line 389), codes__excluding_sole_str_literal -> construct or_code state stack now 0 2 21 54 99 138 199 242 3 33 72 107 Entering state 146 Reducing via rule 65 (line 383), constructor_code -> constructor_code_value state stack now 0 2 21 54 99 138 199 242 3 33 72 107 Entering state 145 Reducing via rule 64 (line 381), constructor_code_value -> any_constructor_code _value state stack now 0 2 21 54 99 138 199 242 3 33 72 107 Entering state 144 Reducing via rule 58 (line 356), -> @3 state stack now 0 2 21 54 99 138 199 242 3 33 72 107 144 Entering state 202 Next token is 93 (']') Shifting token 93 (']'), Entering state 243 Reducing via rule 59 (line 358), '[' @2 any_constructor_code_value @3 ']' -> co nstruct_square state stack now 0 2 21 54 99 138 199 242 3 33 Entering state 76 Reducing via rule 54 (line 348), construct_square -> construct state stack now 0 2 21 54 99 138 199 242 3 33 Entering state 75 Reducing via rule 47 (line 316), '$' name_expr_wdive construct -> put state stack now 0 2 21 54 99 138 199 242 Entering state 16 Reducing via rule 34 (line 272), put -> action state stack now 0 2 21 54 99 138 199 242 Entering state 13 Reducing via rule 32 (line 271), action -> code state stack now 0 2 21 54 99 138 199 242 Entering state 12 Reducing via rule 29 (line 270), code -> codes state stack now 0 2 21 54 99 138 199 242 Entering state 11 Reading a token: Next token is 258 (STRING " ") Shifting token 258 (STRING), Entering state 1 Reducing via rule 167 (line 629), STRING -> write_string state stack now 0 2 21 54 99 138 199 242 11 Entering state 19 Reducing via rule 31 (line 271), write_string -> code state stack now 0 2 21 54 99 138 199 242 11 Entering state 51 Reducing via rule 30 (line 270), codes code -> codes state stack now 0 2 21 54 99 138 199 242 Entering state 11 Reading a token: Next token is 36 ('$') Shifting token 36 ('$'), Entering state 3 Reading a token: Next token is 258 (STRING "cloned") Shifting token 258 (STRING), Entering state 22 Reading a token: Next token is 91 ('[') Reducing via rule 104 (line 497), STRING -> name_expr_value state stack now 0 2 21 54 99 138 199 242 11 3 Entering state 42 Next token is 91 ('[') Reducing via rule 96 (line 478), name_expr_value -> name_expr_dive_code state stack now 0 2 21 54 99 138 199 242 11 3 Entering state 37 Reducing via rule 51 (line 324), name_expr_dive_code -> name_expr_wdive_root state stack now 0 2 21 54 99 138 199 242 11 3 Entering state 34 Reducing via rule 48 (line 320), name_expr_wdive_root -> name_expr_wdive state stack now 0 2 21 54 99 138 199 242 11 3 Entering state 33 Next token is 91 ('[') Shifting token 91 ('['), Entering state 72 Reducing via rule 57 (line 353), -> @2 state stack now 0 2 21 54 99 138 199 242 11 3 33 72 Entering state 107 Reading a token: Next token is 94 ('^') Shifting token 94 ('^'), Entering state 4 Reducing via rule 70 (line 400), -> @4 state stack now 0 2 21 54 99 138 199 242 11 3 33 72 107 4 Entering state 49 Reading a token: Next token is 258 (STRING "xdoc") Shifting token 258 (STRING), Entering state 22 Reading a token: Next token is 46 ('.') Reducing via rule 104 (line 497), STRING -> name_expr_value state stack now 0 2 21 54 99 138 199 242 11 3 33 72 107 4 49 Entering state 65 Next token is 46 ('.') Reducing via rule 101 (line 482), name_expr_value -> name_advance1 state stack now 0 2 21 54 99 138 199 242 11 3 33 72 107 4 49 Entering state 40 Next token is 46 ('.') Shifting token 46 ('.'), Entering state 83 Reducing via rule 100 (line 481), name_advance1 '.' -> name_step state stack now 0 2 21 54 99 138 199 242 11 3 33 72 107 4 49 Entering state 39 Reducing via rule 98 (line 480), name_step -> name_path state stack now 0 2 21 54 99 138 199 242 11 3 33 72 107 4 49 Entering state 64 Reading a token: Next token is 258 (STRING "firstChild") Shifting token 258 (STRING), Entering state 79 Reading a token: Next token is 46 ('.') Reducing via rule 104 (line 497), STRING -> name_expr_value state stack now 0 2 21 54 99 138 199 242 11 3 33 72 107 4 49 64 Entering state 65 Next token is 46 ('.') Reducing via rule 101 (line 482), name_expr_value -> name_advance1 state stack now 0 2 21 54 99 138 199 242 11 3 33 72 107 4 49 64 Entering state 40 Next token is 46 ('.') Shifting token 46 ('.'), Entering state 83 Reducing via rule 100 (line 481), name_advance1 '.' -> name_step state stack now 0 2 21 54 99 138 199 242 11 3 33 72 107 4 49 64 Entering state 80 Reducing via rule 99 (line 480), name_path name_step -> name_path state stack now 0 2 21 54 99 138 199 242 11 3 33 72 107 4 49 Entering state 64 Reading a token: Next token is 258 (STRING "cloneNode") Shifting token 258 (STRING), Entering state 79 Reading a token: Next token is 40 ('(') Reducing via rule 104 (line 497), STRING -> name_expr_value state stack now 0 2 21 54 99 138 199 242 11 3 33 72 107 4 49 64 Entering state 65 Next token is 40 ('(') Reducing via rule 102 (line 490), name_expr_value -> name_advance2 state stack now 0 2 21 54 99 138 199 242 11 3 33 72 107 4 49 64 Entering state 81 Reducing via rule 46 (line 312), name_path name_advance2 -> name_without_curly_ rdive_code state stack now 0 2 21 54 99 138 199 242 11 3 33 72 107 4 49 Entering state 32 Reducing via rule 43 (line 289), name_without_curly_rdive_code -> name_without_ curly_rdive_read state stack now 0 2 21 54 99 138 199 242 11 3 33 72 107 4 49 Entering state 30 Reducing via rule 41 (line 286), name_without_curly_rdive_read -> name_without_ curly_rdive state stack now 0 2 21 54 99 138 199 242 11 3 33 72 107 4 49 Entering state 87 Reducing via rule 73 (line 419), name_without_curly_rdive -> call_name state stack now 0 2 21 54 99 138 199 242 11 3 33 72 107 4 49 Entering state 88 Reducing via rule 71 (line 403), -> @5 state stack now 0 2 21 54 99 138 199 242 11 3 33 72 107 4 49 88 Entering state 131 Next token is 40 ('(') Shifting token 40 ('('), Entering state 192 Reading a token: Next token is 287 ("false") Shifting token 287 ("false"), Entering state 115 Reducing via rule 170 (line 636), "false" -> false_value state stack now 0 2 21 54 99 138 199 242 11 3 33 72 107 4 49 88 131 192 Entering state 130 Reducing via rule 124 (line 570), false_value -> expr state stack now 0 2 21 54 99 138 199 242 11 3 33 72 107 4 49 88 131 192 Entering state 127 Reading a token: Next token is 41 (')') Reducing via rule 121 (line 566), expr -> expr_value state stack now 0 2 21 54 99 138 199 242 11 3 33 72 107 4 49 88 131 192 Entering state 239 Reducing via rule 91 (line 451), expr_value -> store_expr_param_part state stack now 0 2 21 54 99 138 199 242 11 3 33 72 107 4 49 88 131 192 Entering state 238 Reducing via rule 86 (line 439), store_expr_param_part -> store_expr_param_part s state stack now 0 2 21 54 99 138 199 242 11 3 33 72 107 4 49 88 131 192 Entering state 237 Next token is 41 (')') Shifting token 41 (')'), Entering state 253 Reducing via rule 82 (line 433), '(' store_expr_param_parts ')' -> store_round_ param state stack now 0 2 21 54 99 138 199 242 11 3 33 72 107 4 49 88 131 Entering state 196 Reducing via rule 77 (line 424), store_round_param -> store_param state stack now 0 2 21 54 99 138 199 242 11 3 33 72 107 4 49 88 131 Entering state 194 Reducing via rule 74 (line 421), store_param -> store_params state stack now 0 2 21 54 99 138 199 242 11 3 33 72 107 4 49 88 131 Entering state 193 Reading a token: Next token is 257 (EON) Shifting token 257 (EON), Entering state 240 Reducing via rule 72 (line 406), '^' @4 call_name @5 store_params EON -> call_v alue state stack now 0 2 21 54 99 138 199 242 11 3 33 72 107 Entering state 18 Reducing via rule 69 (line 394), call_value -> call state stack now 0 2 21 54 99 138 199 242 11 3 33 72 107 Entering state 17 Reducing via rule 35 (line 272), call -> action state stack now 0 2 21 54 99 138 199 242 11 3 33 72 107 Entering state 143 Reading a token: Next token is 93 (']') Reducing via rule 67 (line 390), action -> codes__excluding_sole_str_literal state stack now 0 2 21 54 99 138 199 242 11 3 33 72 107 Entering state 147 Reducing via rule 66 (line 389), codes__excluding_sole_str_literal -> construct or_code state stack now 0 2 21 54 99 138 199 242 11 3 33 72 107 Entering state 146 Reducing via rule 65 (line 383), constructor_code -> constructor_code_value state stack now 0 2 21 54 99 138 199 242 11 3 33 72 107 Entering state 145 Reducing via rule 64 (line 381), constructor_code_value -> any_constructor_code _value state stack now 0 2 21 54 99 138 199 242 11 3 33 72 107 Entering state 144 Reducing via rule 58 (line 356), -> @3 state stack now 0 2 21 54 99 138 199 242 11 3 33 72 107 144 Entering state 202 Next token is 93 (']') Shifting token 93 (']'), Entering state 243 Reducing via rule 59 (line 358), '[' @2 any_constructor_code_value @3 ']' -> co nstruct_square state stack now 0 2 21 54 99 138 199 242 11 3 33 Entering state 76 Reducing via rule 54 (line 348), construct_square -> construct state stack now 0 2 21 54 99 138 199 242 11 3 33 Entering state 75 Reducing via rule 47 (line 316), '$' name_expr_wdive construct -> put state stack now 0 2 21 54 99 138 199 242 11 Entering state 16 Reducing via rule 34 (line 272), put -> action state stack now 0 2 21 54 99 138 199 242 11 Entering state 13 Reducing via rule 32 (line 271), action -> code state stack now 0 2 21 54 99 138 199 242 11 Entering state 51 Reducing via rule 30 (line 270), codes code -> codes state stack now 0 2 21 54 99 138 199 242 Entering state 11 Reading a token: Next token is 258 (STRING " OK!") Shifting token 258 (STRING), Entering state 1 Reducing via rule 167 (line 629), STRING -> write_string state stack now 0 2 21 54 99 138 199 242 11 Entering state 19 Reducing via rule 31 (line 271), write_string -> code state stack now 0 2 21 54 99 138 199 242 11 Entering state 51 Reducing via rule 30 (line 270), codes code -> codes state stack now 0 2 21 54 99 138 199 242 Entering state 11 Reading a token: Now at end of input. Reducing via rule 28 (line 268), codes -> maybe_codes state stack now 0 2 21 54 99 138 199 242 Entering state 254 Reducing via rule 17 (line 254), '@' STRING bracketed_maybe_strings maybe_bracke ted_strings maybe_comment '\n' @1 maybe_codes -> code_method state stack now 0 Entering state 9 Reducing via rule 7 (line 140), code_method -> method state stack now 0 Entering state 7 Reducing via rule 3 (line 137), method -> methods state stack now 0 Entering state 5 Now at end of input. Reducing via rule 2 (line 135), methods -> all state stack now 0 Entering state 261 Now at end of input. Shifting token 0 ($), Entering state 262 Now at end of input. : Y:/parser3project/parser3/www/htdocs/_bug.html(3:26): 'cloneNode' native metho d of xnode (xnode) accepts minimum 1 parameter(s) (0 present) [parser.runtime]De tected memory leaks! Dumping objects -> {49} normal block at 0x003F59E0, 8 bytes long. Data: < ? > 00 00 3F 00 00 00 00 00 Object dump complete. Press any key to continue...сижу прямо сейчас, анализирую.