Skip to content

syntax: fix multiple issues with escape sequences and character constants #143

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

chqrlie
Copy link
Contributor

@chqrlie chqrlie commented Dec 23, 2024

  • accept 8-bit octal espace sequences
  • reject malformed hex espace sequences
  • make 8-bit character literal values consistent with type char
  • fix output of 8-bit octal and hex literals in CharLiteral.printLiteral
  • fix formating bug in tools/c2cat.c2
  • add tests for various issues

…ants

* accept 8-bit octal espace sequences
* reject malformed hex espace sequences
* make 8-bit character literal values consistent with type `char`
* fix output of 8-bit octal and hex literals in `CharLiteral.printLiteral`
* fix formating bug in tools/c2cat.c2
* add tests for various issues
@bvdberg
Copy link
Member

bvdberg commented Dec 24, 2024

merged

@bvdberg bvdberg closed this Dec 24, 2024
@chqrlie chqrlie deleted the char-escapes branch January 20, 2025 23:13
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.

2 participants