Parser error when importing /
The following program
use Array: {/};
int main() {return 0;}
gives this error:
** 1: Loading SAC program ...
Internal compiler error
Assertion "!buf_empty" failed at sac2c/src/libsac2c/scanparse/lex.c:1228 -- buffer should never be empty at this point
Please file a bug at: https://gitlab.sac-home.org/sac-group/sac2c/-/issues
It is specifically if you import a function called /
that this happens.
Maybe it gets confused because it thinks /
starts a comment?