Skip to content
Snippets Groups Projects
Commit ad19c178 authored by rswindell's avatar rswindell
Browse files

Help index is written as a short.

Displays help index entries as it writes them to the index (for debugging).
parent d18a0b06
Branches
Tags
No related merge requests found
......@@ -29,7 +29,8 @@ int main(void)
,"scfgxtrn.c"
,NULL };
char str[256],tmp[256];
int i,j,k,line,ixb;
int i,j,k,ixb;
unsigned short line;
long l;
FILE *stream,*out;
......@@ -52,6 +53,7 @@ int main(void)
break;
line++;
if(strstr(str,"SETHELP(WHERE);")) {
printf("%s:%u\n",files[i],line);
l=ftell(out);
write(ixb,files[i],12);
write(ixb,&line,2);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment