Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(3458)

Issue 12876043: Print token string into the syntax error message. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 8 months ago by Alok Priyadarshi
Modified:
10 years, 8 months ago
Reviewers:
kbr1
CC:
angleproject-review_googlegroups.com
Base URL:
https://code.google.com/p/angleproject@master
Visibility:
Public.

Description

Print token string into the syntax error message. Bison calls yyerror("syntax error") when it cannot match any grammar rule. We used to append current token string to the error message, which got broken in r2202. This patch restores the original behavior. BUG=442 R=kbr@chromium.org Committed: https://code.google.com/p/angleproject/source/detail?r=686eb7d

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -12 lines) Patch
M src/compiler/glslang.l View 1 chunk +5 lines, -0 lines 0 comments Download
M src/compiler/glslang.y View 2 chunks +1 line, -6 lines 0 comments Download
M src/compiler/glslang_lex.cpp View 1 chunk +5 lines, -0 lines 0 comments Download
M src/compiler/glslang_tab.cpp View 2 chunks +1 line, -6 lines 0 comments Download

Messages

Total messages: 4
Alok Priyadarshi
10 years, 8 months ago (2013-08-13 17:59:05 UTC) #1
kbr1
LGTM Is it worth backporting this fix to any earlier branches?
10 years, 8 months ago (2013-08-13 18:02:27 UTC) #2
Alok Priyadarshi
On 2013/08/13 18:02:27, kbr1 wrote: > LGTM > > Is it worth backporting this fix ...
10 years, 8 months ago (2013-08-13 18:08:16 UTC) #3
Alok Priyadarshi
10 years, 8 months ago (2013-08-13 18:11:12 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 manually as r686eb7d (presubmit successful).
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b