Closed Alienmario closed 4 months ago
#define FOO(%1) %1.dostuff(); methodmap Bar { public void dostuff() { } } public void OnPluginStart() { Bar bar; FOO(bar) // sourcepawn-studio(syntax-error) }
expected "`identifier`, `(`, `!`, `~`, `-`, `+`, `&`, `#include`, `#tryinclude`, `#define`, `#undef`, `#if`, `#elseif`, `#assert`, `preproc_else`, `preproc_endif`, `preproc_endinput`, `#pragma`, `#error`, `#warning`, `const`, `public`, `stock`, `static`, `new`, `decl`, `{`, `}`, `void`, `bool`, `int`, `float`, `char`, `_`, `Float`, `String`, `any_type`, `for`, `while`, `do`, `break`, `continue`, `if`, `else`, `switch`, `return`, `delete`, `--`, `++`, `sizeof`, `view_as`, `int_literal`, `float_literal`, `'`, `\"`, `bool_literal`, `null`, `this`, `comment`, `preproc_include`, `preproc_tryinclude`, `preproc_macro`, `preproc_define`, `preproc_undefine`, `preproc_if`, `preproc_elseif`, `preproc_assert`, `preproc_pragma`, `preproc_error`, `preproc_warning`"sourcepawn-studio(syntax-error)
Basic informations
Code to reproduce the behaviour
Error messages