Lines Matching refs:CG

98 			CG(zend_lineno)++;													\
107 CG(zend_lineno)++; \
190 CG(parse_error) = 0; in startup_scanner()
191 CG(doc_comment) = NULL; in startup_scanner()
192 CG(extra_fn_flags) = 0; in startup_scanner()
205 CG(parse_error) = 0; in shutdown_scanner()
235 lex_state->filename = CG(compiled_filename); in zend_save_lexical_state()
236 lex_state->lineno = CG(zend_lineno); in zend_save_lexical_state()
237 CG(compiled_filename) = NULL; in zend_save_lexical_state()
250 lex_state->ast = CG(ast); in zend_save_lexical_state()
251 lex_state->ast_arena = CG(ast_arena); in zend_save_lexical_state()
275 CG(zend_lineno) = lex_state->lineno; in zend_restore_lexical_state()
293 CG(ast) = lex_state->ast; in zend_restore_lexical_state()
294 CG(ast_arena) = lex_state->ast_arena; in zend_restore_lexical_state()
462 if (CG(detect_unicode)) { in zend_multibyte_find_script_encoding()
472 if (!CG(script_encoding_list) || !CG(script_encoding_list_size)) { in zend_multibyte_find_script_encoding()
477 if (CG(script_encoding_list_size) > 1) { in zend_multibyte_find_script_encoding()
478 …g_detector(LANG_SCNG(script_org), LANG_SCNG(script_org_size), CG(script_encoding_list), CG(script_… in zend_multibyte_find_script_encoding()
481 return CG(script_encoding_list)[0]; in zend_multibyte_find_script_encoding()
533 zend_llist_add_element(&CG(open_files), file_handle); in open_file_for_scanning()
539 zend_llist_add_element(&CG(open_files), file_handle); in open_file_for_scanning()
547 if (CG(multibyte)) { in open_file_for_scanning()
569 if (CG(skip_shebang)) { in open_file_for_scanning()
585 CG(zend_lineno) = 1; in open_file_for_scanning()
586 CG(increment_lineno) = 0; in open_file_for_scanning()
593 bool original_in_compilation = CG(in_compilation); in zend_compile()
595 CG(in_compilation) = 1; in zend_compile()
596 CG(ast) = NULL; in zend_compile()
597 CG(ast_arena) = zend_arena_create(1024 * 32); in zend_compile()
600 int last_lineno = CG(zend_lineno); in zend_compile()
603 zend_op_array *original_active_op_array = CG(active_op_array); in zend_compile()
607 CG(active_op_array) = op_array; in zend_compile()
613 zend_ast_process(CG(ast)); in zend_compile()
618 zend_compile_top_stmt(CG(ast)); in zend_compile()
619 CG(zend_lineno) = last_lineno; in zend_compile()
628 CG(active_op_array) = original_active_op_array; in zend_compile()
631 zend_ast_destroy(CG(ast)); in zend_compile()
632 zend_arena_destroy(CG(ast_arena)); in zend_compile()
634 CG(in_compilation) = original_in_compilation; in zend_compile()
670 original_in_compilation = CG(in_compilation); in zend_compile_string_to_ast()
671 CG(in_compilation) = 1; in zend_compile_string_to_ast()
675 CG(ast) = NULL; in zend_compile_string_to_ast()
676 CG(ast_arena) = zend_arena_create(1024 * 32); in zend_compile_string_to_ast()
680 zend_ast_destroy(CG(ast)); in zend_compile_string_to_ast()
681 zend_arena_destroy(CG(ast_arena)); in zend_compile_string_to_ast()
682 CG(ast) = NULL; in zend_compile_string_to_ast()
686 ast = CG(ast); in zend_compile_string_to_ast()
687 *ast_arena = CG(ast_arena); in zend_compile_string_to_ast()
690 CG(in_compilation) = original_in_compilation; in zend_compile_string_to_ast()
739 if (CG(multibyte)) { in zend_prepare_string_for_scanning()
758 CG(zend_lineno) = 1; in zend_prepare_string_for_scanning()
759 CG(increment_lineno) = 0; in zend_prepare_string_for_scanning()
914 CG(zend_lineno)++; in zend_scan_escape_string()
931 CG(zend_lineno)++; in zend_scan_escape_string()
1106 CG(zend_lineno)++; in zend_scan_escape_string()
1184 CG(zend_lineno) += newline_count; in strip_multiline_string_indentation()
1191 CG(zend_lineno) += newline_count; in strip_multiline_string_indentation()
1239 if (opening_lineno != CG(zend_lineno)) { in report_bad_nesting()
1252 zend_nest_location nest_loc = {opening, CG(zend_lineno)}; in enter_nesting()
1340 int start_line = CG(zend_lineno); in lex_scan()
2203 CG(zend_lineno)++;
2237 if (CG(short_tags)) {
2246 if (CG(short_tags)) {
2271 if (CG(short_tags) /* <? */
2416 …zend_throw_exception_ex(zend_ce_parse_error, 0, "Unterminated comment starting line %d", CG(zend_l…
2426 CG(doc_comment) = zend_string_init(yytext, yyleng, 0);
2436 CG(increment_lineno) = 1;
2477 CG(zend_lineno)++;
2493 CG(zend_lineno)++;
2515 CG(zend_lineno)++;
2594 CG(zend_lineno)++;
2661 zend_string *saved_doc_comment = CG(doc_comment);
2672 CG(doc_comment) = NULL;
2721 CG(increment_lineno) = 0;
2722 CG(doc_comment) = saved_doc_comment;
2930 CG(increment_lineno) = 1; /* For newline before label */
3054 CG(increment_lineno) = 1; /* For newline before label */
3127 start_line = CG(zend_lineno);
3137 start_line = CG(zend_lineno);