@@ -5,18 +5,12 @@ * Parser for Polemy programming language */ module polemy.parse; import polemy._common; +import polemy.failure; import polemy.lex; import polemy.ast; -/// Thrown when encountered a syntax error - -class ParseException : Exception -{ - mixin ExceptionWithPosition; -} - /// Parse a string and return its AST /// Throws: ParseException, LexException, UnexpectedEOF AST parseString(S, T...)(S str, T fn_ln_cn)