]> git.lizzy.rs Git - rust.git/commit
std: Fix demangling with middle special chars
authorAlex Crichton <alex@alexcrichton.com>
Sat, 19 Apr 2014 00:33:47 +0000 (17:33 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Sat, 19 Apr 2014 00:37:27 +0000 (17:37 -0700)
commit55310acbca84abfbb3636440a849a2e77d03992c
tree72569692265094424ad9610ef77214f8861d0d71
parentb75683cadf6c4c55360202cd6a0106be80532451
std: Fix demangling with middle special chars

Previously, symbols with rust escape sequences (denoted with dollar signs)
weren't demangled if the escape sequence showed up in the middle. This alters
the printing loop to look through the entire string for dollar characters.
src/libstd/rt/backtrace.rs