mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-05-06 19:01:21 +03:00
write local variable declarations into a separate file
This commit is contained in:
parent
a3ad61b4d0
commit
ba847ae9d8
5 changed files with 33 additions and 0 deletions
|
@ -60,6 +60,10 @@ int main (int argc, char **argv)
|
|||
codeFile.write (reinterpret_cast<const char *> (&code[0]),
|
||||
code.size()*sizeof (Interpreter::Type_Code));
|
||||
|
||||
std::ofstream localFile ((filename + ".locals").c_str());
|
||||
|
||||
parser.getLocals().write (localFile);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue