Papierkorb / toka

A type-safe, object-oriented option parser
MIT License
8 stars 4 forks source link

Unterminated macro: mapping #3

Open docelic opened 2 years ago

docelic commented 2 years ago

Trying to build Qt5 bindings for Qt 5.5 with Crystal 1.1.0 resulted in this:

...
[ 92%] Linking CXX executable parser
[100%] Built target parser
qt5.cr
In lib/toka/src/toka.cr:339:9

 339 | macro mapping(options, info = { banner: nil, footer: nil, help: true, colors: true })
             ^
Error: unterminated macro

Any hints offhand why this would happen? Thanks!

docelic commented 2 years ago

Seems to happen with Crystal 1.1.0, but not 1.0.0.