tools/quickbook/src/actions_class.cpp
void actions::copy_macros_for_write()
    {
        if(macro_change_depth != state_stack.size())
        {
            macro_stack.push(macro);
            macro_change_depth = state_stack.size();
        }
    }
// Pushing and popping the macro symbol table is pretty expensive, so
// instead implement a sort of 'stack on write'. Call this whenever a
// change is made to the macro table, and it'll stack the current macros
// if necessary. Would probably be better to implement macros in a less
// expensive manner.
Pushing and popping the macro symbol table is pretty expensive, so
instead implement a sort of 'stack on write'. Call this whenever a
change is made to the macro table, and it'll stack the current macros
if necessary. Would probably be better to implement macros in a less
expensive manner.
Pushing and popping the macro symbol table is pretty expensive so instead implement a sort of ' stack on write ' . Call this whenever a change is made to the macro table and it ' ll stack the current macros if necessary . Would probably be better to implement macros in a less expensive manner .
void actions::copy_macros_for_write()
    {
        if(macro_change_depth != state_stack.size())
        {
            macro_stack.push(macro);
            macro_change_depth = state_stack.size();
        }
    }
void actions :: copy_macros_for_write ( ) { if ( macro_change_depth != state_stack . size ( ) ) { macro_stack . push ( macro ) ; macro_change_depth = state_stack . size ( ) ; } }
Pushing and popping the macro symbol table is pretty expensive, so
instead implement a sort of 'stack on write'.
Pushing and popping the macro symbol table is pretty expensive so instead implement a sort of ' stack on write ' .