Add const variables

This commit is contained in:
2025-11-15 22:17:40 -06:00
parent 06e19150e8
commit 48e409f6d0
10 changed files with 380 additions and 9 deletions

View File

@@ -451,6 +451,10 @@ namespace Tesses::CrossLang {
{
instrs.push_back(std::make_shared<SimpleChunkInstruction>(DECLAREVARIABLE));
}
else if(name == "declareconstvariable")
{
instrs.push_back(std::make_shared<SimpleChunkInstruction>(DECLARECONSTVARIABLE));
}
else if(name == "setfield")
{
instrs.push_back(std::make_shared<SimpleChunkInstruction>(SETFIELD));