Exemple #1
0
void avengersAssemble(AST_NODE* astTree, TAC* tacList)
{
    DEST_ASM = fopen("assembly.s", "w");
    printHeaders();
    parseGlobalVariables(astTree);
    parseStrings();
    fprintf(DEST_ASM, "\t.text\n");
    parseTAC(tacList);
    printFooter();
    fclose(DEST_ASM);
}
HRESULT  WeatherXML::ElementEnd( const WCHAR *strName, UINT NameLen )
{
	parseCurrentConditions();
	parseForecastConditions();
	parseTimeSegments();
	parseGlobalVariables();
	parseLocaleVariables();

	m_CurrentElementData = L"";
	m_CurrentElementName.pop_back();
	
	m_Attributes.clear();
	return S_OK;
}