Skip to content

Incorrect mcu script transformation #101

Closed
@galpeter

Description

@galpeter

By using the tools/generator.sh we transform a js file to a JERRY_MCU_SCRIPT define. However there is a problem, take the following input mcu.js file:

var a = 2 * 2;

Executing the tools/generator.sh mcu.js output command will result the following content in the output file:

#define JERRY_MCU_SCRIPT \
"var a = 2 build CMakeLists.txt jerry-core jerry-libc LICENSE main-linux.cpp main-mcu.cpp main-nuttx.cpp Makefile mcu.js out plugins README.md tests third-party tools 2;\n" \

which clearly can't be used as a start js script.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behaviourinfrastructureRelated to GH Actions or the tested targets

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions