dlang-community / libdparse

Library for lexing and parsing D source code
https://libdparse.dlang.io
Boost Software License 1.0
114 stars 56 forks source link

use structs in callbacks instead of many parameters #501

Open WebFreak001 opened 12 months ago

WebFreak001 commented 12 months ago

So it's easier to extend in the future without breaking backwards compatibility, see e.g. messageDelegate/messageFunction inside parser.d should have some struct ErrorInformation with all the fields that are passed as parameters right now.