Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/ParseNode.h

    r3e274ab r312029a  
    1010// Created On       : Sat May 16 13:28:16 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Fri Feb  7 17:56:02 2020
    13 // Update Count     : 891
     12// Last Modified On : Wed Dec 11 07:40:07 2019
     13// Update Count     : 882
    1414//
    1515
     
    2828#include "Common/UniqueName.h"     // for UniqueName
    2929#include "Common/utility.h"        // for maybeClone, maybeBuild
    30 #include "SynTree/LinkageSpec.h"   // for Spec
     30#include "Parser/LinkageSpec.h"    // for Spec
    3131#include "SynTree/Declaration.h"   // for Aggregate
    3232#include "SynTree/Expression.h"    // for Expression, ConstantExpr (ptr only)
     
    218218        enum Length { Short, Long, LongLong, NoLength };
    219219        static const char * lengthNames[];
     220        enum TypeClass { Otype, Dtype, Ftype, Ttype, NoTypeClass };
     221        static const char * typeClassNames[];
    220222        enum BuiltinType { Valist, AutoType, Zero, One, NoBuiltinType };
    221223        static const char * builtinTypeNames[];
     
    239241        static DeclarationNode * newName( const std::string * );
    240242        static DeclarationNode * newFromTypeGen( const std::string *, ExpressionNode * params );
    241         static DeclarationNode * newTypeParam( TypeDecl::Kind, const std::string * );
     243        static DeclarationNode * newTypeParam( TypeClass, const std::string * );
    242244        static DeclarationNode * newTrait( const std::string * name, DeclarationNode * params, DeclarationNode * asserts );
    243245        static DeclarationNode * newTraitUse( const std::string * name, ExpressionNode * params );
     
    309311        struct Variable_t {
    310312//              const std::string * name;
    311                 TypeDecl::Kind tyClass;
     313                DeclarationNode::TypeClass tyClass;
    312314                DeclarationNode * assertions;
    313315                DeclarationNode * initializer;
     
    449451                                * out++ = result;
    450452                        } else {
    451                                 SemanticError( cur->location, "type specifier declaration in forall clause is currently unimplemented." );
     453                                assertf(false, "buildList unknown type");
    452454                        } // if
    453455                } catch( SemanticErrorException & e ) {
Note: See TracChangeset for help on using the changeset viewer.