All pastes #897253 Raw Edit

Miscellany

public text v1 · immutable
·published 2008-02-09 11:22 UTC
rendered paste body
registry.cpp: In static member function 'static void TypeRegistry::registerVar(const TypeRegistry::Var*)':
registry.cpp:134: error: 'end' was not declared in this scope
registry.cpp: In constructor 'TypeRegistry::Init::Init()':
registry.cpp:143: error: 'end' was not declared in this scope


void TypeRegistry::registerVar( const Var* var ) {
    varMap[var->name] = var;
    container << Tag( 'mdcl' ) <<
        Tag( 'mcnm' ) << var->mnemonic  << end <<
        Tag( 'mcna' ) << var->name      << end <<
        Tag( 'mcty' ) << (u16)var->type << end <<
    end;
}