Ignore:
Timestamp:
Feb 13, 2013, 3:57:13 PM (7 years ago)
Author:
touky
Message:

easymesh: all operations now generate UVs for the mesh.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/generated/easymesh-parser.h

    r2318 r2404  
    1 /* A Bison parser, made by GNU Bison 2.5.  */
     1/* A Bison parser, made by GNU Bison 2.4.2.  */
    22
    33/* Skeleton interface for Bison LALR(1) parsers in C++
     
    4141#include <iostream>
    4242#include "stack.hh"
     43
     44
     45namespace lol {
     46
     47/* Line 34 of lalr1.cc  */
     48#line 49 "generated/easymesh-parser.h"
     49  class position;
     50  class location;
     51
     52} // lol
     53
     54/* Line 34 of lalr1.cc  */
     55#line 56 "generated/easymesh-parser.h"
     56
    4357#include "location.hh"
    4458
     
    6175#endif
    6276
     77/* YYLLOC_DEFAULT -- Set CURRENT to span from RHS[1] to RHS[N].
     78   If N is 0, then set CURRENT to the empty location which ends
     79   the previous symbol: RHS[0] (always defined).  */
     80
     81#ifndef YYLLOC_DEFAULT
     82# define YYLLOC_DEFAULT(Current, Rhs, N)                \
     83do {                                                    \
     84  if (N)                                                \
     85    {                                                   \
     86      (Current).begin = (Rhs)[1].begin;                 \
     87      (Current).end   = (Rhs)[N].end;                   \
     88    }                                                   \
     89  else                                                  \
     90    {                                                   \
     91      (Current).begin = (Current).end = (Rhs)[0].end;   \
     92    }                                                   \
     93} while (false)
     94#endif
     95
    6396
    6497namespace lol {
    6598
    66 /* Line 35 of lalr1.cc  */
    67 #line 68 "generated/easymesh-parser.h"
     99/* Line 34 of lalr1.cc  */
     100#line 101 "generated/easymesh-parser.h"
    68101
    69102  /// A Bison parser.
     
    76109    {
    77110
    78 /* Line 35 of lalr1.cc  */
     111/* Line 34 of lalr1.cc  */
    79112#line 36 "easymesh/easymesh-parser.y"
    80113
     
    86119
    87120
    88 /* Line 35 of lalr1.cc  */
    89 #line 90 "generated/easymesh-parser.h"
     121/* Line 34 of lalr1.cc  */
     122#line 123 "generated/easymesh-parser.h"
    90123    };
    91124#else
     
    123156     T_CSGUNION = 279,
    124157     T_CSGSUBSTRACT = 280,
    125      T_CSGAND = 281,
    126      T_CSGXOR = 282,
    127      T_CHAMFER = 283,
    128      T_CYLINDER = 284,
    129      T_BOX = 285,
    130      T_SMOOTHCHAMFBOX = 286,
    131      T_FLATCHAMFBOX = 287,
    132      T_SPHERE = 288,
    133      T_CAPSULE = 289,
    134      T_STAR = 290,
    135      T_EXPANDEDSTAR = 291,
    136      T_DISC = 292,
    137      T_TRIANGLE = 293,
    138      T_QUAD = 294,
    139      T_COG = 295,
    140      T_TORUS = 296,
    141      T_ERROR = 297,
    142      NUMBER = 298,
    143      COLOR = 299
     158     T_CSGSUBSTRACTLOSS = 281,
     159     T_CSGAND = 282,
     160     T_CSGXOR = 283,
     161     T_CHAMFER = 284,
     162     T_CYLINDER = 285,
     163     T_BOX = 286,
     164     T_SMOOTHCHAMFBOX = 287,
     165     T_FLATCHAMFBOX = 288,
     166     T_SPHERE = 289,
     167     T_CAPSULE = 290,
     168     T_STAR = 291,
     169     T_EXPANDEDSTAR = 292,
     170     T_DISC = 293,
     171     T_TRIANGLE = 294,
     172     T_QUAD = 295,
     173     T_COG = 296,
     174     T_TORUS = 297,
     175     T_ERROR = 298,
     176     NUMBER = 299,
     177     COLOR = 300
    144178   };
    145179
     
    215249    location_stack_type yylocation_stack_;
    216250
    217     /// Whether the given \c yypact_ value indicates a defaulted state.
    218     /// \param yyvalue   the value to check
    219     static bool yy_pact_value_is_default_ (int yyvalue);
    220 
    221     /// Whether the given \c yytable_ value indicates a syntax error.
    222     /// \param yyvalue   the value to check
    223     static bool yy_table_value_is_error_ (int yyvalue);
    224 
    225251    /// Internal symbol numbers.
    226252    typedef unsigned char token_number_type;
     
    230256    static const signed char yypact_ninf_;
    231257
    232     /// For a state, default reduction number.
     258    /// For a state, default rule to reduce.
    233259    /// Unless\a  yytable_ specifies something else to do.
    234260    /// Zero means the default is an error.
    235261    static const unsigned char yydefact_[];
    236262
    237     static const signed char yypgoto_[];
     263    static const short int yypgoto_[];
    238264    static const signed char yydefgoto_[];
    239265
     
    261287#endif
    262288
     289#if YYERROR_VERBOSE
    263290    /// Convert the symbol name \a n to a form suitable for a diagnostic.
    264     static std::string yytnamerr_ (const char *n);
     291    virtual std::string yytnamerr_ (const char *n);
     292#endif
    265293
    266294#if YYDEBUG
     
    320348} // lol
    321349
    322 /* Line 35 of lalr1.cc  */
    323 #line 324 "generated/easymesh-parser.h"
     350/* Line 34 of lalr1.cc  */
     351#line 352 "generated/easymesh-parser.h"
    324352
    325353
Note: See TracChangeset for help on using the changeset viewer.