dlang-community / Pegged

A Parsing Expression Grammar (PEG) module, using the D programming language.
533 stars 66 forks source link

Make makefile support LDC, and use same options #296

Closed baryluk closed 4 years ago

baryluk commented 4 years ago

This makes it support ldc, and uses same functional options for all 3 compilers.

Tested on ldc 1.12 (based on dmd 2.082.1), and gdc 8.3.0 (compilation fails with syntax error, because of a feature added in 2.079.1). Options are correct however.

veelo commented 4 years ago

I was not even aware we had a Makefile, I have always used dub. Anyway, will merge. Thanks!