Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/parser.yy

    r7a780ad rd9bad51  
    5555#include "TypedefTable.h"
    5656#include "TypeData.h"
    57 #include "AST/Type.hpp"                                 // for BasicType, BasicKind
    5857#include "Common/SemanticError.h"                                               // error_str
    5958#include "Common/utility.h"                                                             // for maybeMoveBuild, maybeBuild, CodeLo...
     
    261260        ast::ConstantExpr * constant = dynamic_cast<ast::ConstantExpr *>(type->expr.get());
    262261        if ( constant && (constant->rep == "0" || constant->rep == "1") ) {
    263                 type = new ExpressionNode( new ast::CastExpr( location, maybeMoveBuild(type), new ast::BasicType( ast::BasicKind::SignedInt ) ) );
     262                type = new ExpressionNode( new ast::CastExpr( location, maybeMoveBuild(type), new ast::BasicType( ast::BasicType::SignedInt ) ) );
    264263        } // if
    265264        DeclarationNode * initDecl = distAttr(
Note: See TracChangeset for help on using the changeset viewer.