Commit b29755b7 by Aaron Leung

Renaming a function.

parent adf590f7
...@@ -30,7 +30,7 @@ namespace Sass { ...@@ -30,7 +30,7 @@ namespace Sass {
delete [] source; delete [] source;
} }
void Document::parse_stylesheet() { void Document::parse_scss() {
try_munching<optional_spaces>(); try_munching<optional_spaces>();
while (*position) { while (*position) {
statements.push_back(parse_statement()); statements.push_back(parse_statement());
......
...@@ -55,7 +55,7 @@ namespace Sass { ...@@ -55,7 +55,7 @@ namespace Sass {
} }
} }
void parse_stylesheet(); void parse_scss();
Node parse_statement(); Node parse_statement();
Node parse_ruleset(); Node parse_ruleset();
Node parse_selector(); Node parse_selector();
......
...@@ -46,7 +46,7 @@ int main(int argc, char* argv[]) { ...@@ -46,7 +46,7 @@ int main(int argc, char* argv[]) {
doc.position = doc.source; doc.position = doc.source;
std::cout << doc.position << std::endl; std::cout << doc.position << std::endl;
if (*(doc.position)) std::cout << "position has content!" << std::endl; if (*(doc.position)) std::cout << "position has content!" << std::endl;
doc.parse_stylesheet(); doc.parse_scss();
int i; int i;
int j = doc.statements.size(); int j = doc.statements.size();
......
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