diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-09-30 10:45:14 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-09-30 10:45:14 -0700 |
commit | 3e1349d29fa00db1fab3a811b60bc9d8de0355e4 (patch) | |
tree | 93afedf36b8b211432a458ca9c0c7bfaf76e2425 /html/014literal_string.cc.html | |
parent | 6c69569a4c4ca3a23635d4d7a40f0fe557194619 (diff) | |
download | mu-3e1349d29fa00db1fab3a811b60bc9d8de0355e4.tar.gz |
3431
Improvements to syntax highlighting, particularly for Mu code in C++ files.
Diffstat (limited to 'html/014literal_string.cc.html')
-rw-r--r-- | html/014literal_string.cc.html | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/html/014literal_string.cc.html b/html/014literal_string.cc.html index 10456661..c19da0af 100644 --- a/html/014literal_string.cc.html +++ b/html/014literal_string.cc.html @@ -15,12 +15,13 @@ body { font-size: 12pt; font-family: monospace; color: #eeeeee; background-color * { font-size: 12pt; font-size: 1em; } .Constant { color: #00a0a0; } .cSpecial { color: #008000; } -.traceContains { color: #008000; } +.muRecipe { color: #ff8700; } .Comment { color: #9090ff; } .Delimiter { color: #800080; } .Special { color: #c00000; } -.Identifier { color: #fcb165; } +.traceContains { color: #008000; } .Normal { color: #eeeeee; background-color: #080808; padding-bottom: 1px; } +.Identifier { color: #fcb165; } --> </style> @@ -42,13 +43,13 @@ body { font-size: 12pt; font-family: monospace; color: #eeeeee; background-color <span class="Delimiter">:(scenarios load)</span> <span class="Delimiter">:(scenario string_literal)</span> -def main [ +<span class="muRecipe">def</span> main [ <span class="Constant">1</span>:address:array:character<span class="Special"> <- </span>copy [abc def] ] <span class="traceContains">+parse: ingredient: {"abc def": "literal-string"}</span> <span class="Delimiter">:(scenario string_literal_with_colons)</span> -def main [ +<span class="muRecipe">def</span> main [ <span class="Constant">1</span>:address:array:character<span class="Special"> <- </span>copy [abc:def/ghi] ] <span class="traceContains">+parse: ingredient: {"abc:def/ghi": "literal-string"}</span> @@ -202,26 +203,26 @@ string emit_literal_string<span class="Delimiter">(</span>string name<span class <span class="Delimiter">}</span> <span class="Delimiter">:(scenario string_literal_nested)</span> -def main [ +<span class="muRecipe">def</span> main [ <span class="Constant">1</span>:address:array:character<span class="Special"> <- </span>copy [abc [def]] ] <span class="traceContains">+parse: ingredient: {"abc [def]": "literal-string"}</span> <span class="Delimiter">:(scenario string_literal_escaped)</span> -def main [ +<span class="muRecipe">def</span> main [ <span class="Constant">1</span>:address:array:character<span class="Special"> <- </span>copy [abc \[def] ] <span class="traceContains">+parse: ingredient: {"abc [def": "literal-string"}</span> <span class="Delimiter">:(scenario string_literal_escaped_twice)</span> -def main [ +<span class="muRecipe">def</span> main [ <span class="Constant">1</span>:address:array:character<span class="Special"> <- </span>copy [ abc \\[def] ] <span class="traceContains">+parse: ingredient: {"\nabc \[def": "literal-string"}</span> <span class="Delimiter">:(scenario string_literal_and_comment)</span> -def main [ +<span class="muRecipe">def</span> main [ <span class="Constant">1</span>:address:array:character<span class="Special"> <- </span>copy [abc] <span class="Comment"># comment</span> ] <span class="traceContains">+parse: --- defining main</span> @@ -231,14 +232,14 @@ def main [ <span class="traceContains">+parse: product: {1: ("address" "array" "character")}</span> <span class="Delimiter">:(scenario string_literal_escapes_newlines_in_trace)</span> -def main [ +<span class="muRecipe">def</span> main [ copy [abc -def] +<span class="muRecipe">def</span>] ] <span class="traceContains">+parse: ingredient: {"abc\ndef": "literal-string"}</span> <span class="Delimiter">:(scenario string_literal_can_skip_past_comments)</span> -def main [ +<span class="muRecipe">def</span> main [ copy [ <span class="Comment"># ']' inside comment</span> bar @@ -247,15 +248,15 @@ def main [ <span class="traceContains">+parse: ingredient: {"\n # ']' inside comment\n bar\n ": "literal-string"}</span> <span class="Delimiter">:(scenario string_literal_empty)</span> -def main [ +<span class="muRecipe">def</span> main [ copy [] ] <span class="traceContains">+parse: ingredient: {"": "literal-string"}</span> <span class="Delimiter">:(scenario multiple_unfinished_recipes)</span> <span class="Special">% Hide_errors = true;</span> -def f1 [ -def f2 [ +<span class="muRecipe">def</span> f1 [ +<span class="muRecipe">def</span> f2 [ <span class="traceContains">+error: unbalanced '['</span> </pre> </body> |