Skip to content

Releases: dlang-community/libdparse

v0.15.4

30 Jul 05:42
1393ee4
Compare
Choose a tag to compare

v0.15.3

21 Jul 09:17
Compare
Choose a tag to compare
  • supports parsing extern(C++, "namespace", "with", "trailing", "comma",) now which was added in DMD 2.093.0

v0.15.2

26 Jun 01:06
311e4d4
Compare
Choose a tag to compare

Add a new module (dparse.strings) for dealing with escape sequences in string literals. This replaces the old functionality built around the StringBehavior enum. See the discussion here: #418

v0.15.1

08 Jun 09:50
1557eb0
Compare
Choose a tag to compare

v0.15.0...v0.15.1

  • fixes some grammar definitions (only comments) and code style
  • treats export as protection attribute (#413, #414)
  • fixes an issue with memory corruption when using DLexer with non-immutable types like through getTokensForParser (#416)

v0.15.0

19 May 00:19
78ed0d0
Compare
Choose a tag to compare

v0.14.0...v0.15.0

  • Fix a segfault #386
  • Rework the way that comments and whitespace are associated with the "real" tokens that surround them. #387
  • Fix unit tests on 32-bit x86 #389
  • Fix an error parsing enums #391
  • Make the leading and trailing token arrays immutable #393
  • Add support for __vector, module, and package in is expressions. #396
  • Fix parsing for extern(C++ declarations. #398
  • Comments consisting only of slashes no longer considered to be ddoc comments. #394
  • Handle empty /// comments on unittest blocks. #401
  • this is now correctly parses as an assembly operand. #402
  • Fix formatting of AST nodes that contain a @trusted annotation. #399
  • Support GCC extended assembly syntax in asm blocks. #404

v0.14.0

06 Mar 21:27
597d9a6
Compare
Choose a tag to compare

Changes from 0.13.2: v0.13.2...v0.14.0

  • Fix a range violation in unDecorateComment
  • Fix some more range errors on unexpected EOF
  • Fix trace(string) built with version=dparse_verbose
  • Fix: PrimaryExpression is missing typeConstructor
  • Redo rollback_allocator implementation
  • Fix: missing assignment to SpecifiedFunctionBody.hasDo
  • Fix: StatementBlockStyle -> DeclartionListStyle
  • Fix error handling in invalid escape sequence
  • Allow public access to lexer error and warning messages

0.13.0

11 Jul 13:27
5270739
Compare
Choose a tag to compare
v0.13.0

fixup, the fix for #353 could lead to missing comments (#364)

0.11.5

28 May 13:55
Compare
Choose a tag to compare

Back port of bugfixes from 0.12.z

0.12.0

11 May 23:33
ec2089d
Compare
Choose a tag to compare

Enhancements

  • alias: added support for ref return. (#356)
  • alias: added support for the new function type syntax. (#358)
  • prevent scope problem for DCD (#359)

v0.10.2

06 Nov 04:44
b4b9b5d
Compare
Choose a tag to compare

Bugs fixed

  • IfStatement containing a simple variable declaration as condition were not parsed correctly anymore. (#306)