alliedmodders / sourcepawn

A small, statically typed scripting language.
Other
363 stars 62 forks source link

docgen is broken #189

Open kbkk opened 6 years ago

kbkk commented 6 years ago

docgen is broken, had to use 4a0966966bbb117e847c272096ae7cef1df5e5a8 commit (edit: which crashes at handles.inc...).

chokes on clients.inc, most probably at public const int MaxClients;

Assertion failed: sym->isByRef() == type->isReference(), file D:\dev\sourcepawn\exp\compiler\sema\type-resolver.cpp, line 982
dvander commented 6 years ago

This should be fixed now, thanks!

kbkk commented 6 years ago

@dvander Almost, now it crashes at core.inc Sorry to bother, I wanted to make a redux of sm docs but I'll need a working parser for that 👍

include\core.inc:72:15: type error: cannot use type 'PlVers' in a variable declaration
public PlVers __version =

include\core.inc:165:18: type error: cannot use type 'Extension' in a variable declaration
public Extension __ext_core =