Split AST::set_source into set_source/clear_source.
This commit is contained in:
@@ -10,6 +10,7 @@ Breaking changes
|
||||
* The error variant `EvalAltResult::ErrorInFunctionCall` has a new parameter holding the _source_ of the function.
|
||||
* `ParseErrorType::WrongFnDefinition` is renamed `FnWrongDefinition`.
|
||||
* Redefining an existing function within the same script now throws a new `ParseErrorType::FnDuplicatedDefinition`. This is to prevent accidental overwriting an earlier function definition.
|
||||
* `AST::set_source` is now split into `AST::set_source` and `AST::clear_source`.
|
||||
|
||||
New features
|
||||
------------
|
||||
|
Reference in New Issue
Block a user