fix(bin/ltags): use full name for tag-name

This commit is contained in:
Soonho Kong 2014-08-26 15:05:47 -07:00
parent 3d3669e45e
commit fa8e610d4f

View file

@ -64,7 +64,6 @@ def convert_position_to_etag_style(info):
col = item['col']
item['offset'] = line_to_byteoffset[linenum] + col
item['prefix'] = contents[linenum][:col] + get_short_name(item['id'])
# item['prefix'] = ".*" + get_short_name(item['id'])
def extract_info_from_ilean(ilean_file):
info = []
@ -86,7 +85,7 @@ def get_etag_def_header(filename, len):
def get_etag_def_item(item):
result = "%s\x7f%s\x01%d,%d\n" \
% (item['prefix'], get_short_name(item['id']), item['linenum'], item['offset'])
% (item['prefix'], item['id'], item['linenum'], item['offset'])
return result
def get_etag_def_items(items):