for line in file("gl.spec"):
if line[0]=='#' or line.find(':')>=0:
continue
elif line[0]=='\t' and cur_func:
for line in file("gl.spec"):
if line[0]=='#' or line.find(':')>=0:
continue
elif line[0]=='\t' and cur_func:
- out.write("\tgl%s=reinterpret_cast<PFNGL%sPROC>(get_proc_address(\"gl%s\"));\n"%(f, f.upper(), f))
+ out.write("\tgl%s = reinterpret_cast<PFNGL%sPROC>(get_proc_address(\"gl%s\"));\n"%(f, f.upper(), f))