[mozilla/rust] 20617e: Add startling to AUTHORS.txt

rust-commits at mozilla.org rust-commits at mozilla.org
Sun Jan 22 14:31:33 PST 2012


  Branch: refs/heads/try
  Home:   https://github.com/mozilla/rust
  Commit: 20617ecccc3f5a0906c57176f973a7a1147584ac
      https://github.com/mozilla/rust/commit/20617ecccc3f5a0906c57176f973a7a1147584ac
  Author: Brian Anderson <banderson at mozilla.com>
  Date:   2012-01-22 (Sun, 22 Jan 2012)

  Changed paths:
    M AUTHORS.txt

  Log Message:
  -----------
  Add startling to AUTHORS.txt


  Commit: 3692144cc48f3f6a876fb43ef5d402eb38f5b691
      https://github.com/mozilla/rust/commit/3692144cc48f3f6a876fb43ef5d402eb38f5b691
  Author: Kevin Atkinson <kevina at cs.utah.edu>
  Date:   2012-01-22 (Sun, 22 Jan 2012)

  Changed paths:
    M src/comp/syntax/codemap.rs

  Log Message:
  -----------
  Revert "rustc: Exclude stdin from codemap files when lookup_pos".

Need a better fix, right now it is just causing even more confusion,
for example in issue #1448 and #1387.

This reverts commit 1e4de333740690357a8f58883c5c69bf58be1424.


  Commit: 8370778fb862c99a9747d09008f4212343dbec18
      https://github.com/mozilla/rust/commit/8370778fb862c99a9747d09008f4212343dbec18
  Author: Kevin Atkinson <kevina at cs.utah.edu>
  Date:   2012-01-22 (Sun, 22 Jan 2012)

  Changed paths:
    M src/comp/syntax/ext/expand.rs

  Log Message:
  -----------
  Change "file" of injected string from "-" to "<anon>", less confusing
that way.


  Commit: e896dac64c2dd57b56360b7f703c2994f846a80b
      https://github.com/mozilla/rust/commit/e896dac64c2dd57b56360b7f703c2994f846a80b
  Author: Kevin Atkinson <kevina at cs.utah.edu>
  Date:   2012-01-22 (Sun, 22 Jan 2012)

  Changed paths:
    M src/comp/driver/driver.rs
  M src/comp/syntax/parse/eval.rs
  M src/comp/syntax/parse/parser.rs
  M src/rustdoc/attr_parser.rs
  M src/rustdoc/parse.rs

  Log Message:
  -----------
  Don't reset the chpos/byte_pos to 0 in new_parser_from_source_str.

This correctly fixes issue #1362.

chpos/byte_pos are now the offsets within a particular file, but
rather the offsets within a virtual file with is formed by combing all
of the modules within a crate.  Thus, resetting them to 0 causes an
overlap and hence, bogus source locations.

Fix #1362 by moving chpos/byte_pos to parse_sess so that
new_parser_from_source_str has access to them and hence can chose an
initial value that is not already been used in the crate.

Note that the trigger for bug 1361 was that syntax/ext/expand.rs calls
parse_expr_from_source_str (which calls new_parser_from_source_str)
using the same codemap as the current crate (and hence causing overlap
with files in the crate as new_parser_from_source_str resets the
chpos/byte_pos to 0).


  Commit: a51b5a9946fd251f202d92fd1ff9599599dd88a7
      https://github.com/mozilla/rust/commit/a51b5a9946fd251f202d92fd1ff9599599dd88a7
  Author: Kevin Atkinson <kevina at cs.utah.edu>
  Date:   2012-01-22 (Sun, 22 Jan 2012)

  Changed paths:
    M src/comp/front/config.rs
  M src/comp/front/test.rs
  M src/comp/syntax/ext/expand.rs
  M src/comp/syntax/ext/simplext.rs
  M src/comp/syntax/fold.rs

  Log Message:
  -----------
  Allow ast_fold_precursor to change the span.

This involved changing the prototype for the callbacks to thread the
span though.  A wrapper function, fold::wrap, can be used to wrap the
old style callbacks.


  Commit: 29c28413f07fa2796ac7dd081dfb98299ab3462c
      https://github.com/mozilla/rust/commit/29c28413f07fa2796ac7dd081dfb98299ab3462c
  Author: Kevin Atkinson <kevina at cs.utah.edu>
  Date:   2012-01-22 (Sun, 22 Jan 2012)

  Changed paths:
    M src/comp/syntax/ext/simplext.rs

  Log Message:
  -----------
  When replacing a pattern variable in macro expansion use the span of
the replacement and not the span of the pattern variable.

Fixes issue #1448, and #1387.


Compare: https://github.com/mozilla/rust/compare/ec82735...29c2841


More information about the Rust-commits mailing list