Sha256: 5c0af7b0e0a2c8b541b4519d2e8be73da9f8986e1d9ea11aa6837b2f3528b88a
Contents?: true
Size: 746 Bytes
Versions: 14
Compression:
Stored size: 746 Bytes
Contents
#include "prelexer.hpp" #include "backtrace.hpp" #include "error_handling.hpp" namespace Sass { Sass_Error::Sass_Error(Type type, ParserState pstate, string message) : type(type), pstate(pstate), message(message) { } void warn(string msg, ParserState pstate) { cerr << "Warning: " << msg<< endl; } void warn(string msg, ParserState pstate, Backtrace* bt) { Backtrace top(bt, pstate, ""); msg += top.to_string(); warn(msg, pstate); } void error(string msg, ParserState pstate) { throw Sass_Error(Sass_Error::syntax, pstate, msg); } void error(string msg, ParserState pstate, Backtrace* bt) { Backtrace top(bt, pstate, ""); msg += "\n" + top.to_string(); error(msg, pstate); } }
Version data entries
14 entries across 14 versions & 2 rubygems