Closed nitroxis closed 1 month ago
Thank you for reporting this.
This is now fixed on master. Note that to make the command work, -n
should be passed to echo
so that no trailing line ending is used. Otherwise this fails because the input will be aaa\n
:
echo -n "aaa" | himecc --test Test.gram
Hi, I think the
--test
mode ofhimecc
doesn't work properly. Using this trivial grammar file:Running
echo "aaa" | himecc --test Test.gram
yieldsBut running it with e.g. the .NET runtime works as expected, yielding one
A = aaa
ASTNode.