[webkit-changes] [WebKit/WebKit] f0eff1: [WGSL] Identifier lexing reads after EOF

Tadeu Zagallo noreply at github.com
Thu Apr 11 06:02:02 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f0eff1790b685946e909097fcc0109afbaa414be
      https://github.com/WebKit/WebKit/commit/f0eff1790b685946e909097fcc0109afbaa414be
  Author: Tadeu Zagallo <tzagallo at apple.com>
  Date:   2024-04-11 (Thu, 11 Apr 2024)

  Changed paths:
    M Source/WebGPU/WGSL/Lexer.cpp
    A Source/WebGPU/WGSL/tests/invalid/unicode.wgsl

  Log Message:
  -----------
  [WGSL] Identifier lexing reads after EOF
https://bugs.webkit.org/show_bug.cgi?id=272403
rdar://126128360

Reviewed by Mike Wyrzykowski and Alex Christensen.

After adding support for unicode identifiers we now need an explicit check for EOF.

* Source/WebGPU/WGSL/Lexer.cpp:
(WGSL::Lexer<T>::nextToken):
* Source/WebGPU/WGSL/tests/invalid/unicode.wgsl: Added.

Canonical link: https://commits.webkit.org/277382@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list