documentation tweaks

This commit is contained in:
Arvid Norberg 2013-07-19 23:53:57 +00:00
parent b6a917364f
commit 6aa5eca108
3 changed files with 2 additions and 3 deletions

View File

@ -277,7 +277,7 @@ def parse_enum(lno, lines, filename):
if verbose: print '?? %s' % lines[lno-1]
if start_brace > 0 and start_brace == end_brace:
return [{'file': filename, 'name': name, 'values': values}, lno]
return [{'file': filename[11:], 'name': name, 'values': values}, lno]
if len(name) > 0:
print '\x1b[31mFAILED TO PARSE ENUM\x1b[0m %s\nline: %d\nfile: %s' % (name, lno, filename)

View File

@ -110,7 +110,6 @@ dt {
line-height: 1.2em;
color: #315586;
color: #000;
font-family: Tahoma;
font-weight: bold;
}

View File

@ -118,7 +118,7 @@ namespace libtorrent
*/
enum type { ST_DATA = 0, ST_FIN, ST_STATE, ST_RESET, ST_SYN, NUM_TYPES };
enum { ST_DATA = 0, ST_FIN, ST_STATE, ST_RESET, ST_SYN, NUM_TYPES };
struct utp_header
{