You are here

function coder_upgrade_load_parser in Coder 7.2

Same name and namespace in other branches
  1. 7 coder_upgrade/includes/main.inc \coder_upgrade_load_parser()

Loads grammer parser code files.

1 call to coder_upgrade_load_parser()
coder_upgrade_start in coder_upgrade/includes/main.inc
Prepares conversion environment and starts conversion loop.

File

coder_upgrade/includes/main.inc, line 130
Manages application of conversion routines, logging, and patch file creation.

Code

function coder_upgrade_load_parser() {
  static $parser_loaded = FALSE;
  if (!$parser_loaded) {
    $parser_loaded = TRUE;

    // Include parser files.
    libraries_load('grammar_parser');
    coder_upgrade_memory_print('load parser code');
  }
}