rust/src/etc
Patrick Walton ddb2466f6a librustc: Always parse macro!()/macro![] as expressions if not
followed by a semicolon.

This allows code like `vec![1i, 2, 3].len();` to work.

This breaks code that uses macros as statements without putting
semicolons after them, such as:

    fn main() {
        ...
        assert!(a == b)
        assert!(c == d)
        println(...);
    }

It also breaks code that uses macros as items without semicolons:

    local_data_key!(foo)

    fn main() {
        println("hello world")
    }

Add semicolons to fix this code. Those two examples can be fixed as
follows:

    fn main() {
        ...
        assert!(a == b);
        assert!(c == d);
        println(...);
    }

    local_data_key!(foo);

    fn main() {
        println("hello world")
    }

RFC #378.

Closes #18635.

[breaking-change]
2014-12-18 12:09:07 -05:00
..
emacs Update emacs and vi modes. 2014-12-14 04:21:57 -05:00
gedit gedit language spec: add new-style Unicode escapes 2014-12-12 14:03:30 +00:00
kate Add 'move' keyword to emacs, kate, and vim editor modes. 2014-11-10 23:46:36 -08:00
mingw-fix-include
pkg Change default installation directory to %SYSTEMDRIVE%\Rust. 2014-12-10 15:14:14 -08:00
third-party Update license notice. 2014-09-11 09:40:20 -07:00
vim rollup merge of #19804: kballard/vim-new-unicode-escapes 2014-12-15 06:45:36 -08:00
zsh Improve the zsh completions. 2014-09-16 12:23:38 -04:00
2014-06-rewrite-bytes-macros.py Change /bin/env to /usr/bin/env in helper python script, as it is more portable 2014-06-23 09:17:40 +10:00
adb_run_wrapper.sh
apple-darwin.supp
check-binaries.py add shebang to scripts that have execute bit set 2014-05-12 19:52:29 -07:00
check-links.pl
check-summary.py add shebang to scripts that have execute bit set 2014-05-12 19:52:29 -07:00
cmathconsts.c
ctags.rust Improved the tags impl regex 2014-07-24 09:08:52 -04:00
extract_grammar.py add shebang to scripts that have execute bit set 2014-05-12 19:52:29 -07:00
gdb_rust_pretty_printing.py gdb: Fix pretty printer for nullable-opt enums with fat pointers. 2014-12-02 18:28:43 -05:00
generate-deriving-span-tests.py Un-feature gate struct variants 2014-11-15 18:15:27 -08:00
generate-keyword-tests.py Update repo location 2014-06-16 18:16:36 -07:00
get-snapshot.py Register snapshots 2014-09-10 18:33:54 -07:00
indenter
latest-unix-snaps.py
libc.c
licenseck.py Fall out of the std::sync rewrite 2014-12-05 09:12:25 -08:00
lldb_batchmode.py debuginfo: Add a timeout for LLDB tests. 2014-11-05 18:35:24 +01:00
lldb_rust_formatters.py lldb: Fix pretty printer for nullable-opt enums with fat pointers. 2014-12-02 17:33:52 -05:00
local_stage0.sh Port Rust to DragonFlyBSD 2014-07-29 16:44:39 +02:00
make-snapshot.py add shebang to scripts that have execute bit set 2014-05-12 19:52:29 -07:00
make-win-dist.py Fixed a small spelling mistake 2014-12-15 17:07:49 -05:00
maketest.py test: Convert Window path to MSYS path 2014-08-23 16:19:07 +09:00
mirror-all-snapshots.py
mklldeps.py Never generate multiple extern {} blocks in mklldeps.py. 2014-11-25 17:53:05 -06:00
regex-match-tests.py librustc: Always parse macro!()/macro![] as expressions if not 2014-12-18 12:09:07 -05:00
rust-lldb debuginfo: Add script that allows to conveniently start LLDB in "rust-mode" 2014-11-26 15:58:17 +01:00
rustup.sh Add probe and var for file 2014-12-15 22:45:12 -06:00
snapshot.py src/etc/snapshot: support triples lacking a vendor 2014-11-13 17:23:02 -05:00
sugarise-doc-comments.py
tidy.py Improve searching for XXX in tidy script (#3303) 2014-04-08 00:03:12 -07:00
unicode.py std: Collapse SlicePrelude traits 2014-12-14 19:03:56 -08:00
x86.supp rm obsolete valgrind suppressions 2014-10-02 05:01:10 -04:00
ziggurat_tables.py std: Move rand to librand. 2014-03-12 11:31:05 +11:00