зеркало из https://github.com/mozilla/pjs.git
25 строки
809 B
Diff
25 строки
809 B
Diff
diff --git a/gfx/angle/src/compiler/preprocessor/scanner.h b/gfx/angle/src/compiler/preprocessor/scanner.h
|
|
--- a/gfx/angle/src/compiler/preprocessor/scanner.h
|
|
+++ b/gfx/angle/src/compiler/preprocessor/scanner.h
|
|
@@ -44,17 +44,19 @@ NVIDIA HAS BEEN ADVISED OF THE POSSIBILI
|
|
//
|
|
// scanner.h
|
|
//
|
|
|
|
#if !defined(__SCANNER_H)
|
|
#define __SCANNER_H 1
|
|
|
|
// These lengths do not include the NULL terminator.
|
|
-#define MAX_SYMBOL_NAME_LEN 256
|
|
+// see bug 675625: NVIDIA driver crash with lengths >= 253
|
|
+// this is only an interim fix, the real fix is name mapping, see ANGLE bug 144 / r619
|
|
+#define MAX_SYMBOL_NAME_LEN 250
|
|
#define MAX_STRING_LEN 511
|
|
|
|
#include "compiler/preprocessor/parser.h"
|
|
|
|
// Not really atom table stuff but needed first...
|
|
|
|
typedef struct SourceLoc_Rec {
|
|
unsigned short file, line;
|