Skip to content

Commit

Permalink
Fix: imported library not flagged as imported
Browse files Browse the repository at this point in the history
  • Loading branch information
positively-charged committed May 19, 2017
1 parent 49624a2 commit 65b24a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/parse/library.c
Original file line number Diff line number Diff line change
Expand Up @@ -943,6 +943,7 @@ static void import_lib( struct parse* parse, struct import_dirc* dirc ) {
// Read library from source file.
lib = t_add_library( parse->task );
lib->lang = p_determine_lang_from_file_path( file->full_path.value );
lib->imported = true;
list_append( &parse->task->libraries, lib );
if ( lib->lang == LANG_BCS && parse->lib->lang == LANG_ACS ) {
p_diag( parse, DIAG_POS_ERR, &dirc->pos,
Expand Down

0 comments on commit 65b24a4

Please sign in to comment.