Skip to content

Commit

Permalink
sqlite3: leave out insertMemberReference until xref location is valid
Browse files Browse the repository at this point in the history
the code comes from the early stage of sqlite3gen, when xref keys were
kept as "file:line:column", not as function name.

Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com>
  • Loading branch information
groleo committed Jan 9, 2014
1 parent f57d018 commit 2349f4b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sqlite3gen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,8 @@ static void insertMemberReference(sqlite3 *db, MemberDef *src, MemberDef *dst, c
{
sscanf(floc,"%[^:]:%d:%d",file,&line,&column);
}
insertMemberReference(db,src->anchor().data(),dst->anchor().data(),file,line,column);
#warning Disabled until the xref key can be stored as file:line:column
//insertMemberReference(db,src->anchor().data(),dst->anchor().data(),file,line,column);
}
}

Expand Down

0 comments on commit 2349f4b

Please sign in to comment.