History

refactor extension matching

Ge Wang committed 3 years ago

Commit dcebc361 parent 5a68b864 files · +26 −33Browse files

Showing the changes to src/core/chuck.cpp (1 of 4 files). Show all

Unified · Split

src/core/chuck.cpp+5−13
@@ -740,12 +740,8 @@ void ChucK::probeChugins() · 739 unmodified lines
740740 // list of individually named chug-ins (added 1.3.0.0)
741741 std::list<std::string> named_dls = getParamStringList( CHUCK_PARAM_USER_CHUGINS );
742742
743− //---------------------------------------------------------------------
744− // set origin hint | 1.5.0.0 (ge) added
745− m_carrier->compiler->m_originHint = te_originChugin;
746− //---------------------------------------------------------------------
747743 // log
748− EM_log( CK_LOG_SYSTEM, "loading chugins..." );
744+ EM_log( CK_LOG_SYSTEM, "probing chugins..." );
749745 // push indent level
750746 EM_pushlog();
751747 // load external libs
@@ -759,18 +755,14 @@ void ChucK::probeChugins() · 7 unmodified lines
759755 // pop log
760756 EM_poplog();
761757
762− //---------------------------------------------------------------------
763− // set origin hint | 1.5.0.0 (ge) added
764− m_carrier->compiler->m_originHint = te_originImport;
765− //---------------------------------------------------------------------
766758 // log
767− EM_log( CK_LOG_SYSTEM, "pre-loading ChucK libs..." );
759+ EM_log( CK_LOG_SYSTEM, "probing pre-loading ChucK libs..." );
768760 EM_pushlog();
769761
770762 // iterate over list of ck files that the compiler found
771− for(std::list<std::string>::iterator j =
772− compiler()->m_cklibs_to_preload.begin();
773− j != compiler()->m_cklibs_to_preload.end(); j++)
763+ for( std::list<std::string>::iterator j =
764+ compiler()->m_cklibs_to_preload.begin();
765+ j != compiler()->m_cklibs_to_preload.end(); j++ )
774766 {
775767 // the filename
776768 std::string filename = *j;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t