diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-10-23 19:18:50 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-10-23 19:18:50 -0700 |
commit | af7349d50c40e0604c9bb1e9a50aa1c3c0d407d8 (patch) | |
tree | 81ac39642b41902e244138aaa3d42a85286d23c6 /html/011load.cc.html | |
parent | 09788d7edfd63e89b05413c0279fa112e237ee50 (diff) | |
download | mu-af7349d50c40e0604c9bb1e9a50aa1c3c0d407d8.tar.gz |
3568
Fix syntax highlighting for labels after commit 3552.
Diffstat (limited to 'html/011load.cc.html')
-rw-r--r-- | html/011load.cc.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/html/011load.cc.html b/html/011load.cc.html index 0a1991b9..065fd491 100644 --- a/html/011load.cc.html +++ b/html/011load.cc.html @@ -214,7 +214,7 @@ string next_word<span class="Delimiter">(</span>istream& in<span class="Deli <span class="Normal">bool</span> is_label_word<span class="Delimiter">(</span><span class="Normal">const</span> string& word<span class="Delimiter">)</span> <span class="Delimiter">{</span> assert<span class="Delimiter">(</span>!word<span class="Delimiter">.</span>empty<span class="Delimiter">());</span> - <span class="Identifier">return</span> !isalnum<span class="Delimiter">(</span>word<span class="Delimiter">.</span>at<span class="Delimiter">(</span><span class="Constant">0</span><span class="Delimiter">))</span> && string<span class="Delimiter">(</span><span class="Constant">"$_-"</span><span class="Delimiter">).</span>find<span class="Delimiter">(</span>word<span class="Delimiter">.</span>at<span class="Delimiter">(</span><span class="Constant">0</span><span class="Delimiter">))</span> == string::npos<span class="Delimiter">;</span> + <span class="Identifier">return</span> !isalnum<span class="Delimiter">(</span>word<span class="Delimiter">.</span>at<span class="Delimiter">(</span><span class="Constant">0</span><span class="Delimiter">))</span> && string<span class="Delimiter">(</span><span class="Constant">"$_*@&,=-"</span><span class="Delimiter">).</span>find<span class="Delimiter">(</span>word<span class="Delimiter">.</span>at<span class="Delimiter">(</span><span class="Constant">0</span><span class="Delimiter">))</span> == string::npos<span class="Delimiter">;</span> <span class="Delimiter">}</span> <span class="Normal">bool</span> ends_with<span class="Delimiter">(</span><span class="Normal">const</span> string& s<span class="Delimiter">,</span> <span class="Normal">const</span> <span class="Normal">char</span> c<span class="Delimiter">)</span> <span class="Delimiter">{</span> |