1 // 2 // Copyright 2016 Pixar 3 // 4 // Licensed under the Apache License, Version 2.0 (the "Apache License") 5 // with the following modification; you may not use this file except in 6 // compliance with the Apache License and the following modification to it: 7 // Section 6. Trademarks. is deleted and replaced with: 8 // 9 // 6. Trademarks. This License does not grant permission to use the trade 10 // names, trademarks, service marks, or product names of the Licensor 11 // and its affiliates, except as required to comply with Section 4(c) of 12 // the License and to reproduce the content of the NOTICE file. 13 // 14 // You may obtain a copy of the Apache License at 15 // 16 // http://www.apache.org/licenses/LICENSE-2.0 17 // 18 // Unless required by applicable law or agreed to in writing, software 19 // distributed under the Apache License with the above modification is 20 // distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 21 // KIND, either express or implied. See the Apache License for the specific 22 // language governing permissions and limitations under the Apache License. 23 // 24 25 /* A Bison parser, made by GNU Bison 2.4.1. */ 26 27 /* Skeleton interface for Bison's Yacc-like parsers in C 28 29 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 30 Free Software Foundation, Inc. 31 32 This program is free software: you can redistribute it and/or modify 33 it under the terms of the GNU General Public License as published by 34 the Free Software Foundation, either version 3 of the License, or 35 (at your option) any later version. 36 37 This program is distributed in the hope that it will be useful, 38 but WITHOUT ANY WARRANTY; without even the implied warranty of 39 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 40 GNU General Public License for more details. 41 42 You should have received a copy of the GNU General Public License 43 along with this program. If not, see <http://www.gnu.org/licenses/>. */ 44 45 /* As a special exception, you may create a larger work that contains 46 part or all of the Bison parser skeleton and distribute that work 47 under terms of your choice, so long as that work isn't itself a 48 parser generator using the skeleton or a modified version thereof 49 as a parser skeleton. Alternatively, if you modify or redistribute 50 the parser skeleton itself, you may (at your option) remove this 51 special exception, which will cause the skeleton and the resulting 52 Bison output files to be licensed under the GNU General Public 53 License without this special exception. 54 55 This special exception was added by the Free Software Foundation in 56 version 2.2 of Bison. */ 57 58 59 /* Tokens. */ 60 #ifndef YYTOKENTYPE 61 # define YYTOKENTYPE 62 /* Put the tokens into the symbol table, so that GDB and other debuggers 63 know about them. */ 64 enum yytokentype { 65 TOK_NL = 258, 66 TOK_MAGIC = 259, 67 TOK_SYNTAX_ERROR = 260, 68 TOK_ASSETREF = 261, 69 TOK_PATHREF = 262, 70 TOK_IDENTIFIER = 263, 71 TOK_CXX_NAMESPACED_IDENTIFIER = 264, 72 TOK_NAMESPACED_IDENTIFIER = 265, 73 TOK_NUMBER = 266, 74 TOK_STRING = 267, 75 TOK_ABSTRACT = 268, 76 TOK_ADD = 269, 77 TOK_APPEND = 270, 78 TOK_CLASS = 271, 79 TOK_CONFIG = 272, 80 TOK_CONNECT = 273, 81 TOK_CUSTOM = 274, 82 TOK_CUSTOMDATA = 275, 83 TOK_DEF = 276, 84 TOK_DEFAULT = 277, 85 TOK_DELETE = 278, 86 TOK_DICTIONARY = 279, 87 TOK_DISPLAYUNIT = 280, 88 TOK_DOC = 281, 89 TOK_INHERITS = 282, 90 TOK_KIND = 283, 91 TOK_NAMECHILDREN = 284, 92 TOK_NONE = 285, 93 TOK_OFFSET = 286, 94 TOK_OVER = 287, 95 TOK_PERMISSION = 288, 96 TOK_PAYLOAD = 289, 97 TOK_PREFIX_SUBSTITUTIONS = 290, 98 TOK_SUFFIX_SUBSTITUTIONS = 291, 99 TOK_PREPEND = 292, 100 TOK_PROPERTIES = 293, 101 TOK_REFERENCES = 294, 102 TOK_RELOCATES = 295, 103 TOK_REL = 296, 104 TOK_RENAMES = 297, 105 TOK_REORDER = 298, 106 TOK_ROOTPRIMS = 299, 107 TOK_SCALE = 300, 108 TOK_SPECIALIZES = 301, 109 TOK_SUBLAYERS = 302, 110 TOK_SYMMETRYARGUMENTS = 303, 111 TOK_SYMMETRYFUNCTION = 304, 112 TOK_TIME_SAMPLES = 305, 113 TOK_UNIFORM = 306, 114 TOK_VARIANTS = 307, 115 TOK_VARIANTSET = 308, 116 TOK_VARIANTSETS = 309, 117 TOK_VARYING = 310 118 }; 119 #endif 120 121 122 123 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED 124 typedef int YYSTYPE; 125 # define YYSTYPE_IS_TRIVIAL 1 126 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ 127 # define YYSTYPE_IS_DECLARED 1 128 #endif 129 130 131 132 133