Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/parseutility.cc

    re82aa9df r4cb935e  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // parseutility.cc -- 
     7// parseutility.cc --
    88//
    99// Author           : Rodolfo G. Esteves
     
    1212// Last Modified On : Sun Aug 14 23:45:03 2016
    1313// Update Count     : 3
    14 // 
     14//
    1515
    1616#include "parseutility.h"
     
    2626        UntypedExpr *comparison = new UntypedExpr( new NameExpr( "?!=?" ) );
    2727        comparison->get_args().push_back( orig );
    28         comparison->get_args().push_back( new NameExpr( "0" ) );
     28        comparison->get_args().push_back( new ConstantExpr( Constant( new ZeroType( emptyQualifiers ), "0" ) ) );
    2929        return new CastExpr( comparison, new BasicType( Type::Qualifiers(), BasicType::SignedInt ) );
    3030}
Note: See TracChangeset for help on using the changeset viewer.