Ignore:
Timestamp:
Feb 26, 2013, 2:43:45 PM (7 years ago)
Author:
sam
Message:

base: start removing occurrences of NULL on our long journey to nullptr.

File:
1 edited

Legend:

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

    r2410 r2506  
    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
     
    11986
    12087
    121 /* Line 34 of lalr1.cc  */
    122 #line 123 "generated/easymesh-parser.h"
     88/* Line 35 of lalr1.cc  */
     89#line 90 "generated/easymesh-parser.h"
    12390    };
    12491#else
     
    266233    location_stack_type yylocation_stack_;
    267234
     235    /// Whether the given \c yypact_ value indicates a defaulted state.
     236    /// \param yyvalue   the value to check
     237    static bool yy_pact_value_is_default_ (int yyvalue);
     238
     239    /// Whether the given \c yytable_ value indicates a syntax error.
     240    /// \param yyvalue   the value to check
     241    static bool yy_table_value_is_error_ (int yyvalue);
     242
    268243    /// Internal symbol numbers.
    269244    typedef unsigned char token_number_type;
     
    273248    static const signed char yypact_ninf_;
    274249
    275     /// For a state, default rule to reduce.
     250    /// For a state, default reduction number.
    276251    /// Unless\a  yytable_ specifies something else to do.
    277252    /// Zero means the default is an error.
     
    304279#endif
    305280
    306 #if YYERROR_VERBOSE
    307281    /// Convert the symbol name \a n to a form suitable for a diagnostic.
    308     virtual std::string yytnamerr_ (const char *n);
    309 #endif
     282    static std::string yytnamerr_ (const char *n);
    310283
    311284#if YYDEBUG
     
    365338} // lol
    366339
    367 /* Line 34 of lalr1.cc  */
    368 #line 369 "generated/easymesh-parser.h"
     340/* Line 35 of lalr1.cc  */
     341#line 342 "generated/easymesh-parser.h"
    369342
    370343
Note: See TracChangeset for help on using the changeset viewer.