Closed
Description
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.