Changeset 5753b33 for src


Ignore:
Timestamp:
Nov 3, 2018, 11:24:54 PM (5 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
Children:
dc8511c
Parents:
f441c88
Message:

for control now uses basetypeof

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/parser.yy

    rf441c88 r5753b33  
    1010// Created On       : Sat Sep  1 20:22:55 2001
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Thu Nov  1 20:59:49 2018
    13 // Update Count     : 4030
     12// Last Modified On : Sat Nov  3 08:55:10 2018
     13// Update Count     : 4032
    1414//
    1515
     
    192192        } // if
    193193        return new ForCtrl(
    194                 distAttr( DeclarationNode::newTypeof( type ), DeclarationNode::newName( index )->addInitializer( new InitializerNode( start ) ) ),
     194                distAttr( DeclarationNode::newTypeof( type, true ), DeclarationNode::newName( index )->addInitializer( new InitializerNode( start ) ) ),
    195195                new ExpressionNode( build_binary_val( compop, new ExpressionNode( build_varref( new string( *index ) ) ), comp ) ),
    196196                new ExpressionNode( build_binary_val( compop == OperKinds::LThan || compop == OperKinds::LEThan ? // choose += or -= for upto/downto
Note: See TracChangeset for help on using the changeset viewer.