Changeset 37024fd for src/main.cc


Ignore:
Timestamp:
May 6, 2016, 3:01:28 PM (8 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
03e5d14
Parents:
9a92216
Message:

cleanup global init code, don't need to disambiguate with libcfa prefix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main.cc

    r9a92216 r37024fd  
    1010// Created On       : Fri May 15 23:12:02 2015
    1111// Last Modified By : Rob Schluntz
    12 // Last Modified On : Fri May 06 14:20:26 2016
     12// Last Modified On : Fri May 06 14:56:40 2016
    1313// Update Count     : 203
    1414//
     
    186186                        // if running cfa-cpp directly, might forget to pass -F option (and really shouldn't have to)
    187187                        if ( filename == NULL ) filename = argv[ optind ];
    188                         // prepend libcfa prefix to disambiguate library code from user programs
    189                         if ( libcfap ) {
    190                                 filename = "libcfa/prelude.cf";
    191                         } else if ( treep ) {
    192                                 filename = (*new string(string("libcfa/") + filename)).c_str();
    193                         }
     188                        // prelude filename comes in differently
     189                        if ( libcfap ) filename = "prelude.cf";
    194190                        optind += 1;
    195191                } else {
Note: See TracChangeset for help on using the changeset viewer.