diff options
author | Iain Merrick <husky@google.com> | 2010-09-13 16:35:48 +0100 |
---|---|---|
committer | Iain Merrick <husky@google.com> | 2010-09-16 12:10:42 +0100 |
commit | 5abb8606fa57c3ebfc8b3c3dbc3fa4a25d2ae306 (patch) | |
tree | ddce1aa5e3b6967a69691892e500897558ff8ab6 /ANGLE/src/compiler/preprocessor | |
parent | 12bec63ec71e46baba27f0bd9bd9d8067683690a (diff) | |
download | external_webkit-5abb8606fa57c3ebfc8b3c3dbc3fa4a25d2ae306.zip external_webkit-5abb8606fa57c3ebfc8b3c3dbc3fa4a25d2ae306.tar.gz external_webkit-5abb8606fa57c3ebfc8b3c3dbc3fa4a25d2ae306.tar.bz2 |
Merge WebKit at r67178 : Initial merge by git.
Change-Id: I57e01163b6866cb029cdadf405a0394a3918bc18
Diffstat (limited to 'ANGLE/src/compiler/preprocessor')
-rw-r--r-- | ANGLE/src/compiler/preprocessor/atom.c | 7 | ||||
-rw-r--r-- | ANGLE/src/compiler/preprocessor/atom.h | 5 | ||||
-rw-r--r-- | ANGLE/src/compiler/preprocessor/compile.h | 5 | ||||
-rw-r--r-- | ANGLE/src/compiler/preprocessor/cpp.c | 5 | ||||
-rw-r--r-- | ANGLE/src/compiler/preprocessor/cpp.h | 5 | ||||
-rw-r--r-- | ANGLE/src/compiler/preprocessor/cppstruct.c | 5 | ||||
-rw-r--r-- | ANGLE/src/compiler/preprocessor/memory.c | 5 | ||||
-rw-r--r-- | ANGLE/src/compiler/preprocessor/memory.h | 5 | ||||
-rw-r--r-- | ANGLE/src/compiler/preprocessor/parser.h | 5 | ||||
-rw-r--r-- | ANGLE/src/compiler/preprocessor/preprocess.h | 5 | ||||
-rw-r--r-- | ANGLE/src/compiler/preprocessor/scanner.c | 5 | ||||
-rw-r--r-- | ANGLE/src/compiler/preprocessor/scanner.h | 5 | ||||
-rw-r--r-- | ANGLE/src/compiler/preprocessor/slglobals.h | 5 | ||||
-rw-r--r-- | ANGLE/src/compiler/preprocessor/symbols.c | 7 | ||||
-rw-r--r-- | ANGLE/src/compiler/preprocessor/symbols.h | 5 | ||||
-rw-r--r-- | ANGLE/src/compiler/preprocessor/tokens.c | 7 | ||||
-rw-r--r-- | ANGLE/src/compiler/preprocessor/tokens.h | 5 |
17 files changed, 3 insertions, 88 deletions
diff --git a/ANGLE/src/compiler/preprocessor/atom.c b/ANGLE/src/compiler/preprocessor/atom.c index 32b9c74..c5636b7 100644 --- a/ANGLE/src/compiler/preprocessor/atom.c +++ b/ANGLE/src/compiler/preprocessor/atom.c @@ -1,8 +1,3 @@ -// -// Copyright (c) 2002-2010 The ANGLE Project Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// /****************************************************************************\ Copyright (c) 2002, NVIDIA Corporation. @@ -624,7 +619,7 @@ static int AddAtomFixed(AtomTable *atable, const char *s, int atom) int InitAtomTable(AtomTable *atable, int htsize) { - int ii; + unsigned int ii; htsize = htsize <= 0 ? INIT_HASH_TABLE_SIZE : htsize; if (!InitStringTable(&atable->stable)) diff --git a/ANGLE/src/compiler/preprocessor/atom.h b/ANGLE/src/compiler/preprocessor/atom.h index 9d42037..1d84c32 100644 --- a/ANGLE/src/compiler/preprocessor/atom.h +++ b/ANGLE/src/compiler/preprocessor/atom.h @@ -1,8 +1,3 @@ -// -// Copyright (c) 2002-2010 The ANGLE Project Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// /****************************************************************************\ Copyright (c) 2002, NVIDIA Corporation. diff --git a/ANGLE/src/compiler/preprocessor/compile.h b/ANGLE/src/compiler/preprocessor/compile.h index a40b99e..5bfa902 100644 --- a/ANGLE/src/compiler/preprocessor/compile.h +++ b/ANGLE/src/compiler/preprocessor/compile.h @@ -1,8 +1,3 @@ -// -// Copyright (c) 2002-2010 The ANGLE Project Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// /****************************************************************************\ Copyright (c) 2002, NVIDIA Corporation. diff --git a/ANGLE/src/compiler/preprocessor/cpp.c b/ANGLE/src/compiler/preprocessor/cpp.c index 6bf8e65..f15c56d 100644 --- a/ANGLE/src/compiler/preprocessor/cpp.c +++ b/ANGLE/src/compiler/preprocessor/cpp.c @@ -1,8 +1,3 @@ -// -// Copyright (c) 2002-2010 The ANGLE Project Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// /****************************************************************************\ Copyright (c) 2002, NVIDIA Corporation. diff --git a/ANGLE/src/compiler/preprocessor/cpp.h b/ANGLE/src/compiler/preprocessor/cpp.h index 658475e..db4c184 100644 --- a/ANGLE/src/compiler/preprocessor/cpp.h +++ b/ANGLE/src/compiler/preprocessor/cpp.h @@ -1,8 +1,3 @@ -// -// Copyright (c) 2002-2010 The ANGLE Project Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// /****************************************************************************\ Copyright (c) 2002, NVIDIA Corporation. diff --git a/ANGLE/src/compiler/preprocessor/cppstruct.c b/ANGLE/src/compiler/preprocessor/cppstruct.c index afbc477..8e142bc 100644 --- a/ANGLE/src/compiler/preprocessor/cppstruct.c +++ b/ANGLE/src/compiler/preprocessor/cppstruct.c @@ -1,8 +1,3 @@ -// -// Copyright (c) 2002-2010 The ANGLE Project Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// /****************************************************************************\ Copyright (c) 2002, NVIDIA Corporation. diff --git a/ANGLE/src/compiler/preprocessor/memory.c b/ANGLE/src/compiler/preprocessor/memory.c index 393a0d0..e6fea7a 100644 --- a/ANGLE/src/compiler/preprocessor/memory.c +++ b/ANGLE/src/compiler/preprocessor/memory.c @@ -1,8 +1,3 @@ -// -// Copyright (c) 2002-2010 The ANGLE Project Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// /****************************************************************************\ Copyright (c) 2002, NVIDIA Corporation. diff --git a/ANGLE/src/compiler/preprocessor/memory.h b/ANGLE/src/compiler/preprocessor/memory.h index e7f5b75..b3ae2f9 100644 --- a/ANGLE/src/compiler/preprocessor/memory.h +++ b/ANGLE/src/compiler/preprocessor/memory.h @@ -1,8 +1,3 @@ -// -// Copyright (c) 2002-2010 The ANGLE Project Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// /****************************************************************************\ Copyright (c) 2002, NVIDIA Corporation. diff --git a/ANGLE/src/compiler/preprocessor/parser.h b/ANGLE/src/compiler/preprocessor/parser.h index 91a6200..f67342b 100644 --- a/ANGLE/src/compiler/preprocessor/parser.h +++ b/ANGLE/src/compiler/preprocessor/parser.h @@ -1,8 +1,3 @@ -// -// Copyright (c) 2002-2010 The ANGLE Project Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// /****************************************************************************\ Copyright (c) 2002, NVIDIA Corporation. diff --git a/ANGLE/src/compiler/preprocessor/preprocess.h b/ANGLE/src/compiler/preprocessor/preprocess.h index 3dd605b..0602c91 100644 --- a/ANGLE/src/compiler/preprocessor/preprocess.h +++ b/ANGLE/src/compiler/preprocessor/preprocess.h @@ -1,8 +1,3 @@ -// -// Copyright (c) 2002-2010 The ANGLE Project Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// /****************************************************************************\ Copyright (c) 2002, NVIDIA Corporation. diff --git a/ANGLE/src/compiler/preprocessor/scanner.c b/ANGLE/src/compiler/preprocessor/scanner.c index 0944da5..c77d271 100644 --- a/ANGLE/src/compiler/preprocessor/scanner.c +++ b/ANGLE/src/compiler/preprocessor/scanner.c @@ -1,8 +1,3 @@ -// -// Copyright (c) 2002-2010 The ANGLE Project Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// /****************************************************************************\ Copyright (c) 2002, NVIDIA Corporation. diff --git a/ANGLE/src/compiler/preprocessor/scanner.h b/ANGLE/src/compiler/preprocessor/scanner.h index c422b3a..571fe57 100644 --- a/ANGLE/src/compiler/preprocessor/scanner.h +++ b/ANGLE/src/compiler/preprocessor/scanner.h @@ -1,8 +1,3 @@ -// -// Copyright (c) 2002-2010 The ANGLE Project Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// /****************************************************************************\ Copyright (c) 2002, NVIDIA Corporation. diff --git a/ANGLE/src/compiler/preprocessor/slglobals.h b/ANGLE/src/compiler/preprocessor/slglobals.h index a535180..4634626 100644 --- a/ANGLE/src/compiler/preprocessor/slglobals.h +++ b/ANGLE/src/compiler/preprocessor/slglobals.h @@ -1,8 +1,3 @@ -// -// Copyright (c) 2002-2010 The ANGLE Project Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// /****************************************************************************\ Copyright (c) 2002, NVIDIA Corporation. diff --git a/ANGLE/src/compiler/preprocessor/symbols.c b/ANGLE/src/compiler/preprocessor/symbols.c index 1193abb..5baedf5 100644 --- a/ANGLE/src/compiler/preprocessor/symbols.c +++ b/ANGLE/src/compiler/preprocessor/symbols.c @@ -1,8 +1,3 @@ -// -// Copyright (c) 2002-2010 The ANGLE Project Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// /****************************************************************************\ Copyright (c) 2002, NVIDIA Corporation. @@ -157,7 +152,7 @@ Symbol *NewSymbol(SourceLoc *loc, Scope *fScope, int name, symbolkind kind) { Symbol *lSymb; char *pch; - int ii; + unsigned int ii; lSymb = (Symbol *) mem_Alloc(fScope->pool, sizeof(Symbol)); lSymb->left = NULL; diff --git a/ANGLE/src/compiler/preprocessor/symbols.h b/ANGLE/src/compiler/preprocessor/symbols.h index 41e0778..c19f79c 100644 --- a/ANGLE/src/compiler/preprocessor/symbols.h +++ b/ANGLE/src/compiler/preprocessor/symbols.h @@ -1,8 +1,3 @@ -// -// Copyright (c) 2002-2010 The ANGLE Project Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// /****************************************************************************\ Copyright (c) 2002, NVIDIA Corporation. diff --git a/ANGLE/src/compiler/preprocessor/tokens.c b/ANGLE/src/compiler/preprocessor/tokens.c index 7cfc73d..057cce8 100644 --- a/ANGLE/src/compiler/preprocessor/tokens.c +++ b/ANGLE/src/compiler/preprocessor/tokens.c @@ -1,8 +1,3 @@ -// -// Copyright (c) 2002-2010 The ANGLE Project Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// /****************************************************************************\ Copyright (c) 2002, NVIDIA Corporation. @@ -210,7 +205,7 @@ void DeleteTokenStream(TokenStream *pTok) void RecordToken(TokenStream *pTok, int token, yystypepp * yylvalpp) { const char *s; - unsigned char *str=NULL; + char *str=NULL; if (token > 256) lAddByte(pTok, (unsigned char)((token & 0x7f) + 0x80)); diff --git a/ANGLE/src/compiler/preprocessor/tokens.h b/ANGLE/src/compiler/preprocessor/tokens.h index 8d7e712..8766df9 100644 --- a/ANGLE/src/compiler/preprocessor/tokens.h +++ b/ANGLE/src/compiler/preprocessor/tokens.h @@ -1,8 +1,3 @@ -// -// Copyright (c) 2002-2010 The ANGLE Project Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// /****************************************************************************\ Copyright (c) 2002, NVIDIA Corporation. |