Change semmantical analyzis to tree validation as per @matklad

Co-Authored-By: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
Veetaha 2020-02-06 13:00:39 +02:00 committed by Veetaha
parent 9fdf984958
commit c58276673a

View File

@ -5,7 +5,7 @@
use crate::{TextRange, TextUnit};
/// Represents the result of unsuccessful tokenization, parsing
/// or semmantical analyzis.
/// or tree validation.
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
pub struct SyntaxError(String, TextRange);