rust/src/libsyntax
Tomasz Miąsko cecf83f592 Breaking tokens into pieces should behave similar to Parser::bump.
Previously when breaking tokens into smaller pieces, the replace_token
function have been used. It replaced current token and updated span
information, but it did not clear the list of expected tokens, neither
did it update remaining info about last token. This could lead to
incorrect error message, like one described in the issue #24780:

  expected one of ... `>` ...  found `>`
2016-02-08 21:26:48 +01:00
..
diagnostics Avoid ICE if environment variable is not set 2016-01-28 22:15:42 +01:00
errors Fix rendering of single-char-span 2016-02-03 16:54:37 +01:00
ext trpl: fix macro follow sets 2016-01-27 13:26:47 -05:00
parse Breaking tokens into pieces should behave similar to Parser::bump. 2016-02-08 21:26:48 +01:00
print libsyntax: fix pretty printing of macro with braces 2016-01-28 09:19:43 +01:00
util use structured errors 2015-12-30 14:27:59 +13:00
abi.rs Rename sunos to solaris 2016-01-31 19:01:30 +03:00
ast.rs Rollup merge of #27499 - barosl:macro-doc-raw-str-hashes, r=nikomatsakis 2016-02-03 02:54:24 +05:30
ast_util.rs Spans now derive equality 2016-02-01 10:18:50 +13:00
attr.rs use structured errors 2015-12-30 14:27:59 +13:00
codemap.rs Changed macro spans in CSVs to point to the macro name, bugfixed nested spans 2016-02-03 20:44:53 +13:00
config.rs move error handling from libsyntax/diagnostics.rs to libsyntax/errors/* 2015-12-17 09:35:50 +13:00
entry.rs Cleanup interfaces of Name, SyntaxContext and Ident 2015-09-24 23:05:02 +03:00
feature_gate.rs Auto merge of #30567 - steffengy:master, r=alexcrichton 2016-01-16 23:30:30 +00:00
fold.rs Stop re-exporting PathParameters's variants. 2015-12-22 17:12:33 +01:00
lib.rs mk: Move from -D warnings to #![deny(warnings)] 2016-01-24 20:35:55 -08:00
owned_slice.rs Deprecate name OwnedSlice and don't use it 2015-12-18 00:52:56 +03:00
ptr.rs Improve OwnedSlice and use it in HIR 2015-12-19 04:20:11 +03:00
show_span.rs use structured errors 2015-12-30 14:27:59 +13:00
std_inject.rs Stop re-exporting AttrStyle's variants and rename them. 2015-10-01 18:03:34 +02:00
str.rs syntax: Copy unstable str::char_at into libsyntax 2015-04-21 10:23:53 -07:00
test.rs Rollup merge of #30420 - petrochenkov:owned2, r=nrc 2015-12-18 20:02:12 +05:30
visit.rs Stop re-exporting PathParameters's variants. 2015-12-22 17:12:33 +01:00