Multi-line comments

937d217
Opened by Roy Frostig at 2010-07-08 14:51:55

Currently no support for multi-line comments in source files, only single-line (the // kind). Implement multi-line comments in the frontend. Should be depth-balanced. As Graydon puts it, "the lexer already has a sample bracequote balanced-quote sub-mode, easy to copy for multiline comments."

  1. Here's an implementation of /* */ comments with nesting: http://github.com/mbrubeck/rust/commit/fdab6b81b7478394d8fd9e10a2f1b005e6b7a16c

    Matt Brubeck at 2010-07-08 09:33:58

  2. Thanks. Taken as 244ea680820c205461ad5af979c0a722372e6dc6 .

    Graydon Hoare at 2010-07-08 14:51:55