about summary refs log tree commit diff
path: root/src/rustc
diff options
context:
space:
mode:
authorLindsey Kuper <lindsey@rockstargirl.org>2012-06-08 17:13:56 -0700
committerLindsey Kuper <lindsey@rockstargirl.org>2012-06-08 17:24:14 -0700
commit0863ac25a7ce07bd775c54cf6516a2fef52a31bb (patch)
tree91bfcfe2eb1af0b61d753f2be89bba279840cf18 /src/rustc
parent7c0fd858db331d2505ab15bc70e6c5947378f271 (diff)
downloadrust-0863ac25a7ce07bd775c54cf6516a2fef52a31bb.tar.gz
rust-0863ac25a7ce07bd775c54cf6516a2fef52a31bb.zip
Update READMEs and comments to reflect "rustsyntax" -> "syntax" change
Diffstat (limited to 'src/rustc')
-rw-r--r--src/rustc/README.txt12
-rw-r--r--src/rustc/middle/ty.rs2
2 files changed, 7 insertions, 7 deletions
diff --git a/src/rustc/README.txt b/src/rustc/README.txt
index 1c889cc429f..e0a4d7cbda1 100644
--- a/src/rustc/README.txt
+++ b/src/rustc/README.txt
@@ -31,9 +31,9 @@ lib/      - bindings to LLVM
 
 The files concerned purely with syntax -- that is, the AST, parser,
 pretty-printer, lexer, macro expander, and utilities for traversing
-ASTs -- are in a separate crate called "rustsyntax", whose files are
-in ./../librustsyntax if the parent directory of front/, middle/,
-back/, and so on is . .
+ASTs -- are in a separate crate called "syntax", whose files are in
+./../libsyntax if the parent directory of front/, middle/, back/, and
+so on is . .
 
 The entry-point for the compiler is main() in driver/rustc.rs, and
 this file sequences the various parts together.
@@ -42,7 +42,7 @@ this file sequences the various parts together.
 The 3 central data structures:
 ------------------------------
 
-#1: ../librustsyntax/ast.rs defines the AST. The AST is treated as immutable
+#1: ../libsyntax/ast.rs defines the AST. The AST is treated as immutable
     after parsing, but it depends on mutable context data structures
     (mainly hash maps) to give it meaning.
 
@@ -78,8 +78,8 @@ Control and information flow within the compiler:
 - main() in driver/rustc.rs assumes control on startup. Options are
   parsed, platform is detected, etc.
 
-- librustsyntax/parse/parser.rs parses the input files and produces an
-  AST that represents the input crate.
+- libsyntax/parse/parser.rs parses the input files and produces an AST
+  that represents the input crate.
 
 - Multiple middle-end passes (middle/resolve.rs, middle/typeck.rs)
   analyze the semantics of the resulting AST. Each pass generates new
diff --git a/src/rustc/middle/ty.rs b/src/rustc/middle/ty.rs
index 5ddfd8620fa..998e5a61666 100644
--- a/src/rustc/middle/ty.rs
+++ b/src/rustc/middle/ty.rs
@@ -343,7 +343,7 @@ type substs = {
 };
 
 // NB: If you change this, you'll probably want to change the corresponding
-// AST structure in front/ast::rs as well.
+// AST structure in libsyntax/ast.rs as well.
 enum sty {
     ty_nil,
     ty_bot,