Edit

kc3-lang/angle/src/compiler/preprocessor/length_limits.h

Branch :

  • Show log

    Commit

  • Author : shannonwoods@chromium.org
    Date : 2013-05-30 00:13:08
    Hash : 8ddaf5c0
    Message : Increase the maximum token length in the preprocessor to be 1024, to comply with the GLSL ES 3 specification. TRAC #23077 Signed-off-by: Shannon Woods Signed-off-by: Geoff Lang Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2349 736b8ea6-26fd-11df-bfd4-992fa37f6226

  • src/compiler/preprocessor/length_limits.h
  • //
    // Copyright (c) 2011-2013 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.
    //
    
    //
    // length_limits.h
    //
    
    #if !defined(__LENGTH_LIMITS_H)
    #define __LENGTH_LIMITS_H 1
    
    // These constants are factored out from the rest of the headers to
    // make it easier to reference them from the compiler sources.
    
    // These lengths do not include the NULL terminator.
    #define MAX_SYMBOL_NAME_LEN 1024
    
    #endif // !(defined(__LENGTH_LIMITS_H)