mozilla/rust — pull request #3000 by dgryski (2012-07-23 21:36:38+00:00)
Title: Fix formatting of multiline code blocks in asm-comments

When building with -S, the rust source code for each is included as a comment in an InlineAsm block. However, if the code block contains new-lines, the only the first line ends up being correctly commented and indented. This patch updates the comment sanitizing code to deal correctly with newlines.