Open MitchBradley opened 1 month ago
Good catch! I (or someone else?) should write a comprehensive test suite for the parameters/expressions/flow control part of the core...
Thank the C++ compiler for catching it. I tried compiling with C++ and the stricter type coercion revealed the problem.
I think there might also be an issue with EXISTS[]. LinuxCNC says that the syntax is EXISTS[#<_name>], but as I read the code, it is looking for e.g. EXISTS[_name] without the enclosing #<>.
I think there might also be an issue with EXISTS[].
You are correct, I will fix this in the next commit.
Line 794 of ngc_expr.c is:
I think there is a misplaced closing parenthesis. It should be