| [5d30c1] | 1 | /* A Bison parser, made by GNU Bison 1.875d.  */
 | 
|---|
 | 2 | 
 | 
|---|
 | 3 | /* Skeleton parser for Yacc-like parsing with Bison,
 | 
|---|
 | 4 |    Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
 | 
|---|
 | 5 | 
 | 
|---|
 | 6 |    This program is free software; you can redistribute it and/or modify
 | 
|---|
 | 7 |    it under the terms of the GNU General Public License as published by
 | 
|---|
 | 8 |    the Free Software Foundation; either version 2, or (at your option)
 | 
|---|
 | 9 |    any later version.
 | 
|---|
 | 10 | 
 | 
|---|
 | 11 |    This program is distributed in the hope that it will be useful,
 | 
|---|
 | 12 |    but WITHOUT ANY WARRANTY; without even the implied warranty of
 | 
|---|
 | 13 |    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 | 
|---|
 | 14 |    GNU General Public License for more details.
 | 
|---|
 | 15 | 
 | 
|---|
 | 16 |    You should have received a copy of the GNU General Public License
 | 
|---|
 | 17 |    along with this program; if not, write to the Free Software
 | 
|---|
 | 18 |    Foundation, Inc., 59 Temple Place - Suite 330,
 | 
|---|
 | 19 |    Boston, MA 02111-1307, USA.  */
 | 
|---|
 | 20 | 
 | 
|---|
 | 21 | /* As a special exception, when this file is copied by Bison into a
 | 
|---|
 | 22 |    Bison output file, you may use that output file without restriction.
 | 
|---|
 | 23 |    This special exception was added by the Free Software Foundation
 | 
|---|
 | 24 |    in version 1.24 of Bison.  */
 | 
|---|
 | 25 | 
 | 
|---|
 | 26 | /* Tokens.  */
 | 
|---|
 | 27 | #ifndef YYTOKENTYPE
 | 
|---|
 | 28 | # define YYTOKENTYPE
 | 
|---|
 | 29 |    /* Put the tokens into the symbol table, so that GDB and other debuggers
 | 
|---|
 | 30 |       know about them.  */
 | 
|---|
 | 31 |    enum yytokentype {
 | 
|---|
 | 32 |      T_EBC = 258,
 | 
|---|
 | 33 |      T_GBC = 259,
 | 
|---|
 | 34 |      T_CABS = 260,
 | 
|---|
 | 35 |      T_CABSP = 261,
 | 
|---|
 | 36 |      T_ABS = 262,
 | 
|---|
 | 37 |      T_ABSP = 263,
 | 
|---|
 | 38 |      T_NOT = 264,
 | 
|---|
 | 39 |      T_MOLECULE = 265,
 | 
|---|
 | 40 |      T_MULTIPLICITY = 266,
 | 
|---|
 | 41 |      T_CHARGE = 267,
 | 
|---|
 | 42 |      T_METHOD = 268,
 | 
|---|
 | 43 |      T_BASIS = 269,
 | 
|---|
 | 44 |      T_AUXBASIS = 270,
 | 
|---|
 | 45 |      T_EQUALS = 271,
 | 
|---|
 | 46 |      T_OPTIMIZE = 272,
 | 
|---|
 | 47 |      T_GRADIENT = 273,
 | 
|---|
 | 48 |      T_BEG_OPT = 274,
 | 
|---|
 | 49 |      T_END_OPT = 275,
 | 
|---|
 | 50 |      T_CARTESIAN = 276,
 | 
|---|
 | 51 |      T_INTERNAL = 277,
 | 
|---|
 | 52 |      T_REDUNDANT = 278,
 | 
|---|
 | 53 |      T_RESTART = 279,
 | 
|---|
 | 54 |      T_CHECKPOINT = 280,
 | 
|---|
 | 55 |      T_COLON = 281,
 | 
|---|
 | 56 |      T_XC = 282,
 | 
|---|
 | 57 |      T_SYMMETRY = 283,
 | 
|---|
 | 58 |      T_MEMORY = 284,
 | 
|---|
 | 59 |      T_BOHR = 285,
 | 
|---|
 | 60 |      T_ANGSTROM = 286,
 | 
|---|
 | 61 |      T_GRID = 287,
 | 
|---|
 | 62 |      T_FREQUENCIES = 288,
 | 
|---|
 | 63 |      T_DOCC = 289,
 | 
|---|
 | 64 |      T_SOCC = 290,
 | 
|---|
 | 65 |      T_FROZEN_DOCC = 291,
 | 
|---|
 | 66 |      T_FROZEN_UOCC = 292,
 | 
|---|
 | 67 |      T_ALPHA = 293,
 | 
|---|
 | 68 |      T_BETA = 294,
 | 
|---|
 | 69 |      T_OO_INPUT_KEYWORD = 295,
 | 
|---|
 | 70 |      T_STRING = 296,
 | 
|---|
 | 71 |      T_BOOL = 297
 | 
|---|
 | 72 |    };
 | 
|---|
 | 73 | #endif
 | 
|---|
 | 74 | #define T_EBC 258
 | 
|---|
 | 75 | #define T_GBC 259
 | 
|---|
 | 76 | #define T_CABS 260
 | 
|---|
 | 77 | #define T_CABSP 261
 | 
|---|
 | 78 | #define T_ABS 262
 | 
|---|
 | 79 | #define T_ABSP 263
 | 
|---|
 | 80 | #define T_NOT 264
 | 
|---|
 | 81 | #define T_MOLECULE 265
 | 
|---|
 | 82 | #define T_MULTIPLICITY 266
 | 
|---|
 | 83 | #define T_CHARGE 267
 | 
|---|
 | 84 | #define T_METHOD 268
 | 
|---|
 | 85 | #define T_BASIS 269
 | 
|---|
 | 86 | #define T_AUXBASIS 270
 | 
|---|
 | 87 | #define T_EQUALS 271
 | 
|---|
 | 88 | #define T_OPTIMIZE 272
 | 
|---|
 | 89 | #define T_GRADIENT 273
 | 
|---|
 | 90 | #define T_BEG_OPT 274
 | 
|---|
 | 91 | #define T_END_OPT 275
 | 
|---|
 | 92 | #define T_CARTESIAN 276
 | 
|---|
 | 93 | #define T_INTERNAL 277
 | 
|---|
 | 94 | #define T_REDUNDANT 278
 | 
|---|
 | 95 | #define T_RESTART 279
 | 
|---|
 | 96 | #define T_CHECKPOINT 280
 | 
|---|
 | 97 | #define T_COLON 281
 | 
|---|
 | 98 | #define T_XC 282
 | 
|---|
 | 99 | #define T_SYMMETRY 283
 | 
|---|
 | 100 | #define T_MEMORY 284
 | 
|---|
 | 101 | #define T_BOHR 285
 | 
|---|
 | 102 | #define T_ANGSTROM 286
 | 
|---|
 | 103 | #define T_GRID 287
 | 
|---|
 | 104 | #define T_FREQUENCIES 288
 | 
|---|
 | 105 | #define T_DOCC 289
 | 
|---|
 | 106 | #define T_SOCC 290
 | 
|---|
 | 107 | #define T_FROZEN_DOCC 291
 | 
|---|
 | 108 | #define T_FROZEN_UOCC 292
 | 
|---|
 | 109 | #define T_ALPHA 293
 | 
|---|
 | 110 | #define T_BETA 294
 | 
|---|
 | 111 | #define T_OO_INPUT_KEYWORD 295
 | 
|---|
 | 112 | #define T_STRING 296
 | 
|---|
 | 113 | #define T_BOOL 297
 | 
|---|
 | 114 | 
 | 
|---|
 | 115 | 
 | 
|---|
 | 116 | 
 | 
|---|
 | 117 | 
 | 
|---|
 | 118 | #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
 | 
|---|
 | 119 | #line 28 "parse.yy"
 | 
|---|
 | 120 | typedef union YYSTYPE {
 | 
|---|
 | 121 |   char *str;
 | 
|---|
 | 122 |   int i;
 | 
|---|
 | 123 |   std::vector<int> *nniv;
 | 
|---|
 | 124 |   } YYSTYPE;
 | 
|---|
 | 125 | /* Line 1285 of yacc.c.  */
 | 
|---|
 | 126 | #line 127 "parse.tmp.hh"
 | 
|---|
 | 127 | # define yystype YYSTYPE /* obsolescent; will be withdrawn */
 | 
|---|
 | 128 | # define YYSTYPE_IS_DECLARED 1
 | 
|---|
 | 129 | # define YYSTYPE_IS_TRIVIAL 1
 | 
|---|
 | 130 | #endif
 | 
|---|
 | 131 | 
 | 
|---|
 | 132 | extern YYSTYPE MPQCInylval;
 | 
|---|
 | 133 | 
 | 
|---|
 | 134 | 
 | 
|---|
 | 135 | 
 | 
|---|