Permalink
Browse files

sqlite3: leave out insertMemberReference until xref location is valid

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 2349f4b3ff931e334b3d3e09b3e03861a7630f86
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/sqlite3gen.cpp
@@ -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);
}
}

0 comments on commit 2349f4b

Please sign in to comment.