libdparse icon indicating copy to clipboard operation
libdparse copied to clipboard

Library for lexing and parsing D source code

Results 44 libdparse issues
Sort by recently updated
recently updated
newest added

Fixes https://github.com/dlang-community/DCD/issues/778

Trying to parse the code `void foo(int s =` is causing an out-of-bounds error: ``` core.exception.ArrayIndexError@/home/happy/.dub/packages/libdparse/~master/libdparse/src/dparse/parser.d(9104): index [6] is out of bounds for array of length 6 ---------------- ??:? onArrayIndexError...

Upstream D has plans to support `align(default)` in the future: At the moment, I’m getting the following errors with serve-d on the upstream test file: ```d struct S { align(1)...

After fixing/converting the grammar at http://libdparse.dlang.io/grammar.html to an `EBNF` understood by (IPV4) https://rr.red-dove.com/ui or (IPV6) https://www.bottlecaps.de/rr/ui we can have a nice navigable railroad diagram (see instructions at the top bellow)....