From 0e4a335edc7d4e584924fd6b298156e45d2626c8 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sun, 6 Sep 2015 16:35:46 -0700 Subject: 2175 --- html/013literal_string.cc.html | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'html/013literal_string.cc.html') diff --git a/html/013literal_string.cc.html b/html/013literal_string.cc.html index 735e67e0..56fff30c 100644 --- a/html/013literal_string.cc.html +++ b/html/013literal_string.cc.html @@ -13,12 +13,11 @@ pre { white-space: pre-wrap; font-family: monospace; color: #eeeeee; background-color: #080808; } body { font-family: monospace; color: #eeeeee; background-color: #080808; } * { font-size: 1.05em; } -.Identifier { color: #804000; } .cSpecial { color: #008000; } .Comment { color: #9090ff; } .Delimiter { color: #a04060; } .Special { color: #ff6060; } -.CommentedCode { color: #6c6c6c; } +.Identifier { color: #804000; } .Constant { color: #00a0a0; } .traceContains { color: #008000; } --> @@ -60,7 +59,6 @@ Type_ordinal["literal-string"] = (in); skip_whitespace(in); skip_comment(in); -//? cerr << '^' << result << "$\n"; //? 1 return result; } @@ -82,12 +80,10 @@ bool code_string(istream& in.get(); if (!isspace(c)) { in.putback(c); -//? cerr << "code_string: " << out.str() << '\n'; //? 1 return false; } out << c; if (c == '\n') { -//? cerr << "code_string: " << out.str() << '\n'; //? 1 return true; } } @@ -97,18 +93,14 @@ bool code_string(istream& in// Read a regular string. Regular strings can only contain other regular // strings. void slurp_quoted_comment_oblivious(istream& in, ostringstream& out) { -//? cerr << "comment oblivious\n"; //? 1 int brace_depth = 1; while (!in.eof()) { char c = in.get(); -//? cerr << '%' << (int)c << ' ' << brace_depth << ": " << out.str() << "%$\n"; //? 1 -//? cout << (int)c << ": " << brace_depth << '\n'; //? 2 if (c == '\\') { out << static_cast<char>(in.get()); continue; } out << c; -//? cout << out.str() << "$\n"; //? 1 if (c == '[') ++brace_depth; if (c == ']') --brace_depth; if (brace_depth == 0) break; @@ -121,10 +113,8 @@ void slurp_quoted_comment_oblivious(istream& // Read a code string. Code strings can contain either code or regular strings. void slurp_quoted_comment_aware(istream& in, ostringstream& out) { -//? cerr << "comment aware\n"; //? 1 char c; while (in >> c) { -//? cerr << '^' << (int)c << ": " << out.str() << "$\n"; //? 1 if (c == '\\') { out << static_cast<char>(in.get()); continue; -- cgit 1.4.1-2-gfad0