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.
Review URL: http://codereview.appspot.com/2992041
git-svn-id: https://angleproject.googlecode.com/svn/trunk@475 736b8ea6-26fd-11df-bfd4-992fa37f6226
Showing
src/compiler/generate_glslang_lexer.sh
0 → 100755
src/compiler/generate_glslang_parser.sh
0 → 100755
src/compiler/glslang.h
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
src/compiler/glslang_lex.cpp
0 → 100644
This diff is collapsed.
Click to expand it.
src/compiler/glslang_tab.cpp
0 → 100644
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
src/compiler/glslang_tab.h
0 → 100644
src/compiler/tools/COPYING.bison
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
src/compiler/tools/COPYING.flex
deleted
100644 → 0
src/compiler/tools/README
deleted
100644 → 0
src/compiler/tools/bison.exe
deleted
100644 → 0
File deleted
src/compiler/tools/bison.hairy
deleted
100644 → 0
src/compiler/tools/bison.simple
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
src/compiler/tools/flex.exe
deleted
100644 → 0
File deleted
src/compiler/unistd.h
deleted
100644 → 0
Please
register
or
sign in
to comment