Skip to content

Conversation

@cirras
Copy link
Collaborator

@cirras cirras commented Feb 29, 2024

This PR:

  • adds support for the multiline strings from Delphi 12
  • deprecates getImageWithoutQuotes in favor of getValue
  • improves the evaluation of character escapes
  • improves test coverage for TextLiteralNodeImpl

Closes #80.

@cirras cirras added this to the Delphi 12 Athens milestone Feb 29, 2024
@cirras cirras requested a review from fourls February 29, 2024 09:42
Copy link
Collaborator

@fourls fourls left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good on the whole, just some comments on the changelog and minor code thoughts.

cirras added 5 commits March 1, 2024 11:04
Deprecated in favor of `getValue`, which is a more appropriate name for
what this does.

Also, `getImage` returns the raw image instead of partially evaluating
it and leaving the quotes on (which didn't make much sense).
- Add support for binary literals
- Add support for digit separators
@cirras cirras force-pushed the multiline-string branch from 2b539c3 to 06967af Compare March 1, 2024 00:04
Copy link
Collaborator

@fourls fourls left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! This is an important milestone for D12 support.

@fourls fourls merged commit df82595 into master Mar 1, 2024
@cirras cirras deleted the multiline-string branch March 1, 2024 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support multiline string syntax

3 participants