Skip to content

Lua 5.3 scripts: problem with '>>' #88

@alex85k

Description

@alex85k

I am using ESPLorer to experiment with newer NodeMCU firmware built with make LUA=53

There are problems when code includes newly introduced right shift operator >> like

a=7
b=a>>3

When saving the script to flash the process hangs and module reboots. The problem is in these 2 lines of code checking the
module answer:

data = data.replace(">> ", "");

   data = data.replace(">> ", "");
   data = data.replace(">>", "");

(I commented them for myself, it seems to work)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions