Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[QScriptEd] Refactor repetitive code chunks #10

Open
DCxDemo opened this issue Mar 15, 2025 · 0 comments
Open

[QScriptEd] Refactor repetitive code chunks #10

DCxDemo opened this issue Mar 15, 2025 · 0 comments

Comments

@DCxDemo
Copy link
Owner

DCxDemo commented Mar 15, 2025

There is a big chunk of copy pasted code that currently looks like this repeated for every opcode.
Gotta refactor it to a loop over a subset.

if (s == QBuilder.GetCode(QBcode.script).GetSyntax())
{
    chunks.Add(new QChunk(QBcode.script));
    return;
}
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

1 participant