rust/src/libsyntax/parse
Barosl Lee c7fa52df34 Prevent /**/ from being parsed as a doc comment
Previously, `/**/` was incorrectly regarded as a doc comment because it
starts with `/**` and ends with `*/`. However, this caused an ICE
because some code assumed that the length of a doc comment is at least
5. This commit adds an additional check to `is_block_doc_comment` that
tests the length of the input.

Fixes #28844.
2015-10-10 04:49:31 +09:00
..
lexer Prevent /**/ from being parsed as a doc comment 2015-10-10 04:49:31 +09:00
attr.rs Stop re-exporting AttrStyle's variants and rename them. 2015-10-01 18:03:34 +02:00
classify.rs Teach libsyntax about while let 2014-10-10 20:30:31 -04:00
common.rs Allow trailing commas in array patterns and attributes 2014-11-30 22:28:54 +13:00
mod.rs Cleanup interfaces of Name, SyntaxContext and Ident 2015-09-24 23:05:02 +03:00
obsolete.rs Remove unused code in parser. 2015-07-30 20:51:51 -07:00
parser.rs Some cleanup of no longer used AST things 2015-10-09 11:53:42 +13:00
token.rs Cleanup interfaces of Name, SyntaxContext and Ident 2015-09-24 23:05:02 +03:00