Commit b8fd9eb6 by Aaron Leung

Shortening the name of some precompiler macros.

parent bd5842a2
#define SASS_COLOR_NAMES_INCLUDED
#define SASS_COLOR_NAMES
namespace Sass {
......
#define SASS_CONTEXT_INCLUDED
#define SASS_CONTEXT
#include <utility>
......
#include <map>
#ifndef SASS_PRELEXER_INCLUDED
#ifndef SASS_PRELEXER
#include "prelexer.hpp"
#endif
#ifndef SASS_NODE_INCLUDED
#ifndef SASS_NODE
#include "node.hpp"
#endif
#ifndef SASS_CONTEXT_INCLUDED
#ifndef SASS_CONTEXT
#include "context.hpp"
#endif
......
#include <map>
#ifndef SASS_NODE_INCLUDED
#ifndef SASS_NODE
#include "node.hpp"
#endif
#ifndef SASS_CONTEXT_INCLUDED
#ifndef SASS_CONTEXT
#include "context.hpp"
#endif
......
#ifndef SASS_PRELEXER_INCLUDED
#ifndef SASS_PRELEXER
#include "prelexer.hpp"
#endif
#include "node_factory.hpp"
......
#include <cstring>
#include <map>
#ifndef SASS_NODE_INCLUDED
#ifndef SASS_NODE
#include "node.hpp"
#endif
......@@ -11,6 +11,8 @@ namespace Sass {
typedef Node (*Primitive)(const Node, map<Token, Node>&, Node_Factory& new_Node);
typedef const char* str;
typedef str Function_Descriptor[];
struct Environment;
struct Function {
......@@ -56,7 +58,7 @@ namespace Sass {
parameters.push_back(new_Node(Node::variable, "[PRIMITIVE FUNCTIONS]", 0, Token::make(p, p + std::strlen(p))));
}
}
Node operator()(map<Token, Node>& bindings, Node_Factory& new_Node) const
{
if (primitive) return primitive(parameters, bindings, new_Node);
......
#define SASS_NODE_INCLUDED
#define SASS_NODE
#include <cstring>
#include <string>
......
#include <vector>
#ifndef SASS_NODE_INCLUDED
#ifndef SASS_NODE
#include "node.hpp"
#endif
......
#define SASS_PRELEXER_INCLUDED
#define SASS_PRELEXER
namespace Sass {
namespace Prelexer {
......
......@@ -4,7 +4,7 @@
#include <map>
#include <algorithm>
#ifndef SASS_NODE_INCLUDED
#ifndef SASS_NODE
#include "node.hpp"
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment