summary refs log tree commit diff
path: root/src/libsyntax/parse/lexer.rs
AgeCommit message (Collapse)AuthorLines
2012-07-09Allow defining token tree macros. They should work now!Paul Stansifer-2/+2
2012-07-09Switch 'cont' to 'again' everywhere. Close #2229.Graydon Hoare-1/+1
2012-07-05Start letting the parser catch interpolated ASTs.Paul Stansifer-2/+1
2012-07-05Some rearranging in perparation for MBE-style TT transcription.Paul Stansifer-109/+19
2012-07-05Comments only: change TODOs to FIXMEs and annotate themTim Chevalier-1/+2
2012-07-04convert doc-attributes to doc-comments using ↵Gareth Daniel Smith-1/+1
./src/etc/sugarise-doc-comments.py (and manually tweaking) - for issue #2498
2012-07-02Merge remote-tracking branch 'Dretch/prettydocs'Brian Anderson-9/+57
Conflicts: src/compiletest/errors.rs src/libsyntax/parse/attr.rs src/libsyntax/parse/comments.rs src/test/compile-fail/ambig_impl_unify.rs src/test/compile-fail/assign-super.rs src/test/compile-fail/bad-for-loop.rs src/test/compile-fail/bad-var-env-capture-in-block-arg.rs src/test/compile-fail/block-arg-as-stmt-with-value.rs src/test/compile-fail/borrowck-assign-comp-idx.rs src/test/compile-fail/borrowck-lend-flow.rs src/test/compile-fail/borrowck-loan-blocks-move-cc.rs src/test/compile-fail/borrowck-loan-blocks-mut-uniq.rs src/test/compile-fail/borrowck-loan-rcvr.rs src/test/compile-fail/borrowck-loan-vec-content.rs src/test/compile-fail/borrowck-mut-vec-as-imm-slice-bad.rs src/test/compile-fail/cap-clause-with-stack-closure.rs src/test/compile-fail/do1.rs src/test/compile-fail/do2.rs src/test/compile-fail/empty-vec-trailing-comma.rs src/test/compile-fail/evec-subtyping.rs src/test/compile-fail/issue-1896.rs src/test/compile-fail/issue-2149.rs src/test/compile-fail/issue-2150.rs src/test/compile-fail/issue-2487-b.rs src/test/compile-fail/kindck-implicit-close-over-mut-var.rs src/test/compile-fail/liveness-issue-2163.rs src/test/compile-fail/liveness-use-in-index-lvalue.rs src/test/compile-fail/no-reuse-move-arc.rs src/test/compile-fail/no-send-res-ports.rs src/test/compile-fail/non-const.rs src/test/compile-fail/pure-higher-order.rs src/test/compile-fail/pure-loop-body.rs src/test/compile-fail/regions-addr-of-upvar-self.rs src/test/compile-fail/regions-escape-loop-via-vec.rs src/test/compile-fail/regions-scoping.rs src/test/compile-fail/seq-args.rs src/test/compile-fail/tstate-unsat-in-called-fn-expr.rs src/test/compile-fail/tstate-unsat-in-fn-expr.rs src/test/compile-fail/vec-add.rs src/test/compile-fail/vec-concat-bug.rs src/test/compile-fail/vector-no-ann.rs
2012-06-30initial draft of fix for issue #2498:Gareth Daniel Smith-9/+57
1. make /// ... and //! ... and /** ... */ and /*! ... */ into sugar for #[doc = ...] attributes. 2. add a script in etc/ to help converting doc-attributes to doc-comments 3. add some functions to core::str to help with (1)
2012-06-29Switch the compiler over to using ~[] notation instead of []/~. Closes #2759.Michael Sullivan-2/+2
2012-06-25Make vectors uglier ([]/~). Sorry. Should be temporary. Closes #2725.Michael Sullivan-2/+2
2012-06-25parsing for the macro systemPaul Stansifer-21/+49
2012-06-21Tag all remaining FIXMEs with bugs. Install rule in tidy script to enforce this.Graydon Hoare-3/+3
2012-06-21Issue #2657: track mutability of bindings, also prevent move from bindingsNiko Matsakis-1/+1
2012-06-15Lexers now emit spans, not chposes.Paul Stansifer-19/+32
2012-06-15Beginning of support for interpolation into token trees.Paul Stansifer-1/+1
2012-06-15Make token tree lexers and their stacks unique.Paul Stansifer-37/+50
2012-06-15Make tt lexers duplicatible.Paul Stansifer-1/+17
2012-06-15Bugfix: obey the tt_lexer's own invariants.Paul Stansifer-4/+4
2012-06-15Make it possible to make tt_reader-based parsers.Paul Stansifer-19/+33
2012-06-15Make token trees re-lexable.Paul Stansifer-2/+66
2012-06-15Pull out an interface for the lexer.Paul Stansifer-146/+165
2012-06-14Further work on integer literal suffix inference (#1425)Lindsey Kuper-1/+1
In this commit: * Change the lit_int_unsuffixed AST node to not carry a type, since it doesn't need one * Don't print "(unsuffixed)" when pretty-printing unsuffixed integer literals * Just print "I" instead of "(integral)" for integral type variables * Set up trans to use the information that will be gathered during typeck to construct the appropriate constants for unsuffixed int literals * Add logic for handling int_ty_sets in typeck::infer * Clean up unnecessary code in typeck::infer * Add missing mk_ functions to middle::ty * Add ty_var_integral to a few of the type utility functions it was missing from in middle::ty
2012-06-11Add a new AST node for unsuffixed integer types.Lindsey Kuper-1/+4
2012-06-09syntax: Intern @strs instead of strsBrian Anderson-9/+9
2012-06-04rustc: Implement optional fat-arrow syntax for alt (transitional change)Patrick Walton-1/+6
2012-05-31Implement 2 kinds of char / str escaping. Use in rustc. Close #2306.Graydon Hoare-0/+1
2012-05-31Rename librustsyntax to libsyntaxKevin Cantu-0/+536
Per issue #2418.