schema_editor/comdel/parser/source_error.h

15 lines
225 B
C
Raw Normal View History

2022-04-08 18:17:58 +00:00
#ifndef SOURCE_ERROR_H
#define SOURCE_ERROR_H
2022-03-29 19:31:45 +00:00
#include "token.h"
#include <string>
struct SourceError {
Span span;
std::string message;
SourceError(Span span, std::string message);
};
2022-04-08 18:17:58 +00:00
#endif // SOURCE_ERROR_H