diff options
Diffstat (limited to 'src/libsyntax/parse')
| -rw-r--r-- | src/libsyntax/parse/classify.rs | 6 | ||||
| -rw-r--r-- | src/libsyntax/parse/common.rs | 2 | ||||
| -rw-r--r-- | src/libsyntax/parse/mod.rs | 5 |
3 files changed, 5 insertions, 8 deletions
diff --git a/src/libsyntax/parse/classify.rs b/src/libsyntax/parse/classify.rs index d6dcb956f25..b160593b049 100644 --- a/src/libsyntax/parse/classify.rs +++ b/src/libsyntax/parse/classify.rs @@ -8,9 +8,9 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -/* - Predicates on exprs and stmts that the pretty-printer and parser use - */ +//! Routines the parser uses to classify AST nodes + +// Predicates on exprs and stmts that the pretty-printer and parser use use ast; diff --git a/src/libsyntax/parse/common.rs b/src/libsyntax/parse/common.rs index 0d40638d3a7..3c3f0c7a820 100644 --- a/src/libsyntax/parse/common.rs +++ b/src/libsyntax/parse/common.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +//! Common routines shared by parser mods + use parse::token; // SeqSep : a sequence separator (token) diff --git a/src/libsyntax/parse/mod.rs b/src/libsyntax/parse/mod.rs index 122cc37dfb6..0d3ae3b5cb8 100644 --- a/src/libsyntax/parse/mod.rs +++ b/src/libsyntax/parse/mod.rs @@ -28,13 +28,8 @@ pub mod token; pub mod comments; pub mod attr; -/// Common routines shared by parser mods pub mod common; - -/// Routines the parser uses to classify AST nodes pub mod classify; - -/// Reporting obsolete syntax pub mod obsolete; // info about a parsing session. |
