commit | 7cfb2cffdd1d1714bbe8fd7fefb6321f3414c205 | [log] [tgz] |
---|---|---|
author | zmo@google.com <zmo@google.com@736b8ea6-26fd-11df-bfd4-992fa37f6226> | Tue Feb 01 01:24:29 2011 +0000 |
committer | zmo@google.com <zmo@google.com@736b8ea6-26fd-11df-bfd4-992fa37f6226> | Tue Feb 01 01:24:29 2011 +0000 |
tree | 6e43f4ae377730a92dc644e1ad230421dd789b0c | |
parent | 9f300b0fccf1eade82b397156b1dc968f4fdec73 [diff] [blame] |
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
diff --git a/src/compiler/preprocessor/scanner.h b/src/compiler/preprocessor/scanner.h index 0fee20d..33306e5 100644 --- a/src/compiler/preprocessor/scanner.h +++ b/src/compiler/preprocessor/scanner.h
@@ -49,7 +49,7 @@ #define __SCANNER_H 1 // 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 #include "compiler/preprocessor/parser.h"