mirror of
https://github.com/polserver/polserver
synced 2026-08-13 08:23:08 -04:00
use new formatter for ERROR_PRINT, added ERROR_PRINTLN (#595)
* use new formatter for ERROR_PRINT, added ERROR_PRINTLN * remove old log define * fix comments
This commit is contained in:
parent
43b776b94d
commit
0e675c516a
219 changed files with 1228 additions and 1150 deletions
|
|
@ -22,9 +22,10 @@ void ModuleFunctionDeclaration::accept( NodeVisitor& visitor )
|
|||
visitor.visit_module_function_declaration( *this );
|
||||
}
|
||||
|
||||
void ModuleFunctionDeclaration::describe_to( fmt::Writer& w ) const
|
||||
void ModuleFunctionDeclaration::describe_to( std::string& w ) const
|
||||
{
|
||||
w << "module-function-declaration(" << module_name << "::" << name << ")";
|
||||
fmt::format_to( std::back_inserter( w ), "module-function-declaration({}::{})", module_name,
|
||||
name );
|
||||
}
|
||||
|
||||
} // namespace Pol::Bscript::Compiler
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue