|
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.
Total comments: 13
|
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
|
Total messages: 8
|