mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-26 16:29:28 +00:00
Rez: predefine TRUE and FALSE as well as true and false (real Rez would also accept tRuE)
This commit is contained in:
parent
f52121964c
commit
3675b0e252
@ -117,6 +117,8 @@ RezLexer::RezLexer(RezWorld& world, std::string filename, const std::string &dat
|
|||||||
pImpl->ctx.add_macro_definition("Rez=1");
|
pImpl->ctx.add_macro_definition("Rez=1");
|
||||||
pImpl->ctx.add_macro_definition("true=1");
|
pImpl->ctx.add_macro_definition("true=1");
|
||||||
pImpl->ctx.add_macro_definition("false=0");
|
pImpl->ctx.add_macro_definition("false=0");
|
||||||
|
pImpl->ctx.add_macro_definition("TRUE=1");
|
||||||
|
pImpl->ctx.add_macro_definition("FALSE=0");
|
||||||
|
|
||||||
pImpl->iter = pImpl->ctx.begin();
|
pImpl->iter = pImpl->ctx.begin();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user