Skip to content

Detect Lua operators "<<", "< " and "<=" in settings#726

Merged
o-sdn-o merged 4 commits intodirectvt:masterfrom
o-sdn-o:gui-bridge
May 21, 2025
Merged

Detect Lua operators "<<", "< " and "<=" in settings#726
o-sdn-o merged 4 commits intodirectvt:masterfrom
o-sdn-o:gui-bridge

Conversation

@o-sdn-o
Copy link
Collaborator

@o-sdn-o o-sdn-o commented May 21, 2025

Changes

  • Fix Unexpected closing tag name... errors by detecting Lua operators "<<", "<space" and "<=" in Lua scripts.
    settings.xml:
    <config>
        <events>
            <desktop>
                <script on="F2">
                    vtm.desktop.Run({ id="Logs" });
                    a = 10
                    b = 2
                    log("a > b = ", (a > b))
                    log("a < b = ", (a < b))
                    log("a <= b = ", (a <= b))
                    log("a << b = ", (a << b))
                    log("a<=b = ", (a<=b))
                    log("a<<b = ", (a<<b))
                </script>
            </desktop>
        </events>
    </config>

@o-sdn-o o-sdn-o merged commit babeb35 into directvt:master May 21, 2025
8 checks passed
@o-sdn-o o-sdn-o deleted the gui-bridge branch May 21, 2025 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant