Lexer improvement prep, segmentation of lexer and parser.
This commit is contained in:
1 parent
5c73fbee83
commit
9d27c7d37e
15 files changed
+5975
-5706
No files matched your search
@@ -869,16 +869,6 @@ void CodeExtern::set_global()
|
||||
rcast( AST*, ast )->Parent = Code::Global.ast;
|
||||
}
|
||||
|
||||
String CodeExtern::to_string()
|
||||
{
|
||||
if ( ast == nullptr )
|
||||
{
|
||||
log_failure( "Code::to_string: Cannot convert code to string, AST is null!" );
|
||||
return { nullptr };
|
||||
}
|
||||
return rcast( AST*, ast )->to_string();
|
||||
}
|
||||
|
||||
CodeExtern& CodeExtern::operator=( Code other )
|
||||
{
|
||||
if ( other.ast && other->Parent )
|
||||
|
||||
Reference in new issue
Block a user