Rez: predefine TRUE and FALSE as well as true and false (real Rez would also accept tRuE)

This commit is contained in:
Wolfgang Thaller 2018-01-07 12:59:03 +01:00
parent f52121964c
commit 3675b0e252

View File

@ -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("true=1");
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();
}