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/lolfx-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/lolfx-parser.h"
    49   class position;
    50   class location;
    51 
    52 } // lol
    53 
    54 /* Line 34 of lalr1.cc  */
    55 #line 56 "generated/lolfx-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/lolfx-parser.h"
     66/* Line 35 of lalr1.cc  */
     67#line 68 "generated/lolfx-parser.h"
    10168
    10269  /// A Bison parser.
     
    10976    {
    11077
    111 /* Line 34 of lalr1.cc  */
     78/* Line 35 of lalr1.cc  */
    11279#line 34 "gpu/lolfx-parser.y"
    11380
     
    11986
    12087
    121 /* Line 34 of lalr1.cc  */
    122 #line 123 "generated/lolfx-parser.h"
     88/* Line 35 of lalr1.cc  */
     89#line 90 "generated/lolfx-parser.h"
    12390    };
    12491#else
     
    641608    location_stack_type yylocation_stack_;
    642609
     610    /// Whether the given \c yypact_ value indicates a defaulted state.
     611    /// \param yyvalue   the value to check
     612    static bool yy_pact_value_is_default_ (int yyvalue);
     613
     614    /// Whether the given \c yytable_ value indicates a syntax error.
     615    /// \param yyvalue   the value to check
     616    static bool yy_table_value_is_error_ (int yyvalue);
     617
    643618    /// Internal symbol numbers.
    644619    typedef unsigned short int token_number_type;
     
    648623    static const short int yypact_ninf_;
    649624
    650     /// For a state, default rule to reduce.
     625    /// For a state, default reduction number.
    651626    /// Unless\a  yytable_ specifies something else to do.
    652627    /// Zero means the default is an error.
     
    679654#endif
    680655
    681 #if YYERROR_VERBOSE
    682656    /// Convert the symbol name \a n to a form suitable for a diagnostic.
    683     virtual std::string yytnamerr_ (const char *n);
    684 #endif
     657    static std::string yytnamerr_ (const char *n);
    685658
    686659#if YYDEBUG
     
    740713} // lol
    741714
    742 /* Line 34 of lalr1.cc  */
    743 #line 744 "generated/lolfx-parser.h"
     715/* Line 35 of lalr1.cc  */
     716#line 717 "generated/lolfx-parser.h"
    744717
    745718
Note: See TracChangeset for help on using the changeset viewer.