Commit 7cfb2cff by zmo@google.com

Allow variable names with length of up to 256 characters (this is required by WebGL spec).

BUG=109 TEST=the 256-character variable test in glsl-conformance.html passes Review URL: http://codereview.appspot.com/3981050 git-svn-id: https://angleproject.googlecode.com/svn/trunk@552 736b8ea6-26fd-11df-bfd4-992fa37f6226
parent 9f300b0f
...@@ -49,7 +49,7 @@ NVIDIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ...@@ -49,7 +49,7 @@ NVIDIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define __SCANNER_H 1 #define __SCANNER_H 1
// These lengths do not include the NULL terminator. // These lengths do not include the NULL terminator.
#define MAX_SYMBOL_NAME_LEN 127 #define MAX_SYMBOL_NAME_LEN 256
#define MAX_STRING_LEN 511 #define MAX_STRING_LEN 511
#include "compiler/preprocessor/parser.h" #include "compiler/preprocessor/parser.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment