string: Fix `to_cmangle` to never end with an underscore.
authorJean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Fri, 12 Dec 2014 14:55:40 +0000 (09:55 -0500)
committerJean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Thu, 18 Dec 2014 13:59:28 +0000 (08:59 -0500)
commite688d557da3f2ffc72325b6114da03481c932316
tree586bbcde5786b231602ddf2b25431fa785af5782
parent913169b27d2fd6eb6d9f86cbbaf4a5e544d51ed0
string: Fix `to_cmangle` to never end with an underscore.

This permits to use two underscores as a separator between two mangled
names (like Nitdoc does).

Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
lib/standard/string.nit