This file implements SourceMage's spell file inheritence scheme. In a nutshell, sorcery implements a default for each and every spell file, usually this is "true". There can be an override at the grimoire or section level, in addition to the spell file itself. This means you can write a spell level PRE_BUILD, do some stuff then call default_pre_build, which will run a section level PRE_BUILD if it exists, or run a grimoire level PRE_BUILD if that exists, or run the sorcery supplied default. See bug 10914.
Andrew Stitt
(C) 2006 The Source Mage Team
Functions for running spell files.
Setup default functions for spell files. Several of the core functions are declared here as false so they exist, but are re-defined when in the proper context. This is merely a safety valve.
Run a section level file, or the default grimoire level function.
Run a grimoire level file, or the default sorcery level function.
Core entry point for sorcery to run a spell file. Arms real_default_*_file functions then runs the spell file/cmd/function