Changeset 036dd5f


Ignore:
Timestamp:
Jul 9, 2018, 11:05:45 AM (6 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
Children:
aeec6b7
Parents:
0bcc2b7
Message:

Temporarily fill locations just after parsing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main.cc

    r0bcc2b7 r036dd5f  
    247247                } // if
    248248
     249                // Temporary: fill locations after parsing so that every node has a location, for early error messages.
     250                // Eventually we should pass the locations from the parser to every node, but this quick and dirty solution
     251                // works okay for now.
     252                CodeTools::fillLocations( translationUnit );
     253
    249254                // add the assignment statement after the initialization of a type parameter
    250255                PASS( "validate", SymTab::validate( translationUnit, symtabp ) );
Note: See TracChangeset for help on using the changeset viewer.