Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
A
angle
  • Project
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Chen Yisong
  • angle
  • Repository

Switch branch/tag
  • angle
  • src
  • compiler
  • translator
  • glslang_lex.cpp
Find file
BlameHistoryPermalink
  • Corentin Wallez's avatar
    Lexer: Error out on invalid field start. · 9a9c0484
    Corentin Wallez authored Apr 12, 2016
    When parsing something like x.} the following would happen:
     - Parsing "." the lexer would move to the FIELDS start condition
     - Parsing } the lexer wouldn't find any <FIELDS> rule matching
     - The parser would fall back to <*>. that was asserted unreachable.
    
    The fix is to add a <FIELDS>. rule to catch bad field starts
    
    BUG=angleproject:1352
    
    Change-Id: I262d2b9ef5f7346c19ae5e19a173e24f40f2f600
    Reviewed-on: https://chromium-review.googlesource.com/338222Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
    Commit-Queue: Corentin Wallez <cwallez@chromium.org>
    9a9c0484
glslang_lex.cpp 101 KB
EditWeb IDE
×

Replace glslang_lex.cpp

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.