Skip to content

Commit

Permalink
put event handler/autoexec after private
Browse files Browse the repository at this point in the history
  • Loading branch information
ate47 authored Sep 2, 2023
1 parent 9d9d63c commit 0426a1d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/tools/gsc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1129,15 +1129,15 @@ void tool::gsc::T8GSCExport::DumpFunctionHeader(std::ostream& asmout, BYTE* gscF
if (!specialClassMember) {
asmout << "function ";
}
if (flags & T8GSCExportFlags::PRIVATE) {
asmout << "private ";
}
if (flags & T8GSCExportFlags::AUTOEXEC) {
asmout << "autoexec ";
}
if (flags & T8GSCExportFlags::EVENT) {
asmout << "event_handler[" << hashutils::ExtractTmp("event", callback_event) << "] " << std::flush;
}
if (flags & T8GSCExportFlags::PRIVATE) {
asmout << "private ";
}

if (ctx.m_opt.m_dasm && (classMember || (flags & T8GSCExportFlags::CLASS_DESTRUCTOR))) {
asmout << hashutils::ExtractTmp("class", name_space)
Expand Down

0 comments on commit 0426a1d

Please sign in to comment.