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

Issue 2992041: Refactored glslang grammar files to make:... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 9 months ago by Alok Priyadarshi
Modified:
14 years, 9 months ago
Reviewers:
kbr1, dgkoch
CC:
angleproject-review_googlegroups.com
Base URL:
http://angleproject.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Refactored glslang grammar files to make: - lexer and parser reentrant - line number handling automatic Caveats: - The preprocessor is still not thread-safe and full of bugs. I have another not-yet-ready patch to replace the preprocessor. - The grammar files use options that are not supported by the old versions of flex and bison checked into compiler/tools. So I need to check-in the generated lexer-parser along with a shell script to generate them.

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 13

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9143 lines, -5622 lines) Patch
M src/build_angle.gyp View 1 2 5 chunks +15 lines, -26 lines 0 comments Download
M src/compiler/Common.h View 1 chunk +17 lines, -2 lines 0 comments Download
M src/compiler/Compiler.cpp View 1 7 chunks +2 lines, -27 lines 0 comments Download
M src/compiler/InfoSink.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M src/compiler/Initialize.h View 1 chunk +0 lines, -4 lines 0 comments Download
M src/compiler/ParseHelper.h View 3 chunks +8 lines, -8 lines 0 comments Download
M src/compiler/ParseHelper.cpp View 1 2 3 chunks +71 lines, -11 lines 0 comments Download
A src/compiler/generate_glslang_lexer.sh View 1 chunk +11 lines, -0 lines 0 comments Download
A src/compiler/generate_glslang_parser.sh View 1 chunk +12 lines, -0 lines 0 comments Download
A src/compiler/glslang.h View 1 1 chunk +16 lines, -0 lines 0 comments Download
M src/compiler/glslang.l View 1 2 10 chunks +327 lines, -358 lines 0 comments Download
M src/compiler/glslang.y View 1 2 67 chunks +475 lines, -478 lines 0 comments Download
A src/compiler/glslang_lex.cpp View 1 chunk +3186 lines, -0 lines 0 comments Download
A src/compiler/glslang_tab.h View 1 chunk +274 lines, -0 lines 0 comments Download
A src/compiler/glslang_tab.cpp View 1 chunk +4710 lines, -0 lines 0 comments Download
M src/compiler/preprocessor/preprocess.h View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/preprocessor/scanner.h View 1 chunk +0 lines, -2 lines 0 comments Download
D src/compiler/tools/COPYING.bison View 1 chunk +0 lines, -339 lines 0 comments Download
D src/compiler/tools/COPYING.flex View 1 chunk +0 lines, -38 lines 0 comments Download
D src/compiler/tools/README View 1 chunk +0 lines, -14 lines 0 comments Download
D src/compiler/tools/bison.exe View 1 chunk +0 lines, -1371 lines 0 comments Download
D src/compiler/tools/bison.hairy View 1 chunk +0 lines, -334 lines 0 comments Download
D src/compiler/tools/bison.simple View 1 chunk +0 lines, -699 lines 0 comments Download
D src/compiler/tools/flex.exe View 1 chunk +0 lines, -1887 lines 0 comments Download
M src/compiler/translator_common.vcproj View 6 chunks +16 lines, -20 lines 0 comments Download
D src/compiler/unistd.h View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 8
Alok Priyadarshi
I have added comments inline to aid quick review. Also please look at the caveat ...
14 years, 9 months ago (2010-11-08 22:45:12 UTC) #1
kbr1
I didn't go through this in great detail but overall it looks like a very ...
14 years, 9 months ago (2010-11-09 00:05:15 UTC) #2
dgkoch
We had looked into using a newer version of flex and bison earlier in the ...
14 years, 9 months ago (2010-11-09 14:20:32 UTC) #3
Alok Priyadarshi
I will check-in the generated lexer-parser files along with the shell script. I will also ...
14 years, 9 months ago (2010-11-09 16:33:47 UTC) #4
Alok Priyadarshi
All DONE: - Added the generated files along with shell script. - Removed old flex ...
14 years, 9 months ago (2010-11-09 19:50:45 UTC) #5
Alok Priyadarshi
Hi Daniel: Do you want to take a final look before I commit? Thanks, -Alok
14 years, 9 months ago (2010-11-11 17:18:04 UTC) #6
dgkoch
Sorry for the delay. Was OOO a couple of days this week. No issues detected. ...
14 years, 9 months ago (2010-11-12 14:53:05 UTC) #7
Alok Priyadarshi
14 years, 9 months ago (2010-11-12 15:42:39 UTC) #8
> LGTM provided the CTS still passes without problems.

Yes CTS still passes. Committing...DONE!
Sign in to reply to this message.

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