Ignore:
Timestamp:
Dec 19, 2012, 9:49:58 PM (7 years ago)
Author:
sam
Message:

easymesh: motherfucking planetary gears demo.

File:
1 edited

Legend:

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

    r2116 r2152  
    1 /* A Bison parser, made by GNU Bison 2.4.2.  */
     1/* A Bison parser, made by GNU Bison 2.5.  */
    22
    33/* Skeleton interface for Bison LALR(1) parsers in C++
    44   
    5       Copyright (C) 2002-2010 Free Software Foundation, Inc.
     5      Copyright (C) 2002-2011 Free Software Foundation, Inc.
    66   
    77   This program is free software: you can redistribute it and/or modify
     
    4141#include <iostream>
    4242#include "stack.hh"
    43 
    44 
    45 namespace 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 
    5743#include "location.hh"
    5844
     
    7561#endif
    7662
    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)                \
    83 do {                                                    \
    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 
    9663
    9764namespace lol {
    9865
    99 /* Line 34 of lalr1.cc  */
    100 #line 101 "generated/easymesh-parser.h"
     66/* Line 35 of lalr1.cc  */
     67#line 68 "generated/easymesh-parser.h"
    10168
    10269  /// A Bison parser.
     
    10976    {
    11077
    111 /* Line 34 of lalr1.cc  */
     78/* Line 35 of lalr1.cc  */
    11279#line 36 "easymesh/easymesh-parser.y"
    11380
     
    11582    /* Can't use uin32_t here for some reason */
    11683    unsigned u32val;
    117     struct { float f0, f1, f2, f3, f4, f5, f6, f7; } args;
    118 
    119 
    120 
    121 /* Line 34 of lalr1.cc  */
    122 #line 123 "generated/easymesh-parser.h"
     84    struct { float f0, f1, f2, f3, f4, f5, f6, f7, f8, f9; } args;
     85
     86
     87
     88/* Line 35 of lalr1.cc  */
     89#line 90 "generated/easymesh-parser.h"
    12390    };
    12491#else
     
    243210    location_stack_type yylocation_stack_;
    244211
     212    /// Whether the given \c yypact_ value indicates a defaulted state.
     213    /// \param yyvalue   the value to check
     214    static bool yy_pact_value_is_default_ (int yyvalue);
     215
     216    /// Whether the given \c yytable_ value indicates a syntax error.
     217    /// \param yyvalue   the value to check
     218    static bool yy_table_value_is_error_ (int yyvalue);
     219
    245220    /// Internal symbol numbers.
    246221    typedef unsigned char token_number_type;
     
    250225    static const signed char yypact_ninf_;
    251226
    252     /// For a state, default rule to reduce.
     227    /// For a state, default reduction number.
    253228    /// Unless\a  yytable_ specifies something else to do.
    254229    /// Zero means the default is an error.
     
    281256#endif
    282257
    283 #if YYERROR_VERBOSE
    284258    /// Convert the symbol name \a n to a form suitable for a diagnostic.
    285     virtual std::string yytnamerr_ (const char *n);
    286 #endif
     259    static std::string yytnamerr_ (const char *n);
    287260
    288261#if YYDEBUG
     
    342315} // lol
    343316
    344 /* Line 34 of lalr1.cc  */
    345 #line 346 "generated/easymesh-parser.h"
     317/* Line 35 of lalr1.cc  */
     318#line 319 "generated/easymesh-parser.h"
    346319
    347320
Note: See TracChangeset for help on using the changeset viewer.