Bus error: 10 when parsing file
jbeaurgamot opened this issue · comments
Hi,
If I run the sdlang parser (built locally) on a file with the following contents, the application crashes with a "Bus error: 10" message.
a{
a{
a{
b{
c{
d{
e{
f{
g{
h{
test 0
}
}
}
}
}
}
}
}
}
}
interestingly, if you move the "test" tag up one level to "g", there is no crash. It seems to be related to parsing values on tags that are nested beyond a certain level.
If its helpful, the command im using to run the parser is:
./sdlang parse test.sdl
Thanks :)
Oh also, I'm building the sdlang cli on mac os 10.14 with:
$ dub build --config=cli --arch=x86_64
(64 bit as the app im using the sdlang-d package is also 64 bit)