aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/parse
AgeCommit message (Expand)AuthorFilesLines
2021-08-14parse if expression with unary minus or not expressionMark Wielaard1-0/+4
2021-08-12module: Add basic filename discoveryCohenArthur1-0/+1
2021-08-12lexer: Add function to get original filenameCohenArthur1-2/+2
2021-08-11Pass pratt parsed location to expr parser functions to fix expr locusMark Wielaard2-145/+104
2021-08-05parser: Implement parse_items() as separate public functionCohenArthur2-39/+23
2021-08-04Merge #605bors[bot]1-8/+8
2021-08-04Always check the result of expect_token while parsingMark Wielaard1-0/+27
2021-08-03parser: Use Module constructor instead of both versionsCohenArthur1-8/+8
2021-08-02Add locus to TupleField and pass it and union variants to HIR classMark Wielaard1-1/+3
2021-07-30Use correct lookahead to peek after 'while' token when parsing expression wit...Alexey Sakovets1-1/+1
2021-07-25Merge #593bors[bot]1-0/+15
2021-07-25Support RangeFrom ([x..]) and RangeFromTo ([x..y]) in the parserMark Wielaard1-0/+15
2021-07-25Support byte and byte string literalsMark Wielaard1-0/+8
2021-07-23Merge #591bors[bot]1-7/+0
2021-07-23Remove error handling in parse_type_no_bounds for PLUS tokenMark Wielaard1-7/+0
2021-07-23Better union support in the parserMark Wielaard1-8/+8
2021-07-22unsafe blocks can be used in expressionsMark Wielaard2-5/+15
2021-07-11Handle doc comment strings in lexer and parserMark Wielaard2-5/+56
2021-07-05Remove has_utf8bom flag from AST and HIR Crate classesMark Wielaard1-7/+1
2021-07-04Remove has_shebang flag from AST and HIR Crate classesMark Wielaard1-7/+5
2021-07-02make struct field carry the location infoThomas Young1-1/+3
2021-06-27Fix inner attribute parsingMark Wielaard1-1/+1
2021-06-25Reject non-pure decimal tuple indexes.Mark Wielaard1-0/+6
2021-06-24Handle empty/unit tuple enum variants in the parser.Mark Wielaard1-1/+6
2021-06-23Handle empty/unit tuple structs in the parser.Mark Wielaard1-1/+6
2021-06-21Fix various Wformat-diag diagnosticsMarc Poulhiès1-5/+5
2021-06-03rust_debug: Replace fprintf (stderr) with rust_debugCohenArthur1-144/+119
2021-05-31Reusing AST::Attribute and removing HIR::Attribute.Thomas Young2-473/+364
2021-05-21only parse inner_attributes if it start with #! not only #Thomas Young1-1/+3
2021-05-05Fix clang formatting and include a testLyra1-1/+1
2021-05-05Throw error instead of crashing when a whitespace is encountered within an as...Lyra1-0/+3
2021-04-18The trailing expression is not necessarily without a blocklrh20002-24/+51
2021-04-09Fix formattingYizhePKU1-1/+1
2021-04-09Merge branch 'master' into fix-zero-length-array-2YizhePKU1-11/+5
2021-04-05Address '[...]/gcc/rust/parse/rust-parse-impl.h:8575:8: error: variable ‘ha...Thomas Schwinge1-5/+1
2021-04-05Placate GCC 4.8Thomas Schwinge1-3/+3
2021-04-05Address '[...]/gcc/rust/parse/rust-parse-impl.h:4896:8: error: variable ‘ha...Thomas Schwinge1-2/+0
2021-04-02Fix includeYizhe1-102/+104
2021-04-02Modify parser to generate empty ArrayElemsValues instead of nullptrYizhe1-3/+6
2021-03-25Add missing location info into TypePathPhilip Herron1-1/+2
2021-03-18Modify parser error message reporting system to allow recovery (#290)The Other2-939/+1251
2021-03-01Fix formattingYizhe1-16/+18
2021-03-01Modify the parser to use the new enumsYizhe1-82/+82
2021-03-01Fix to parse inner attribute correctlyNala Ginrut1-75/+87
2021-02-13Fix parsing of Char literalsPhilip Herron1-0/+4
2021-02-13Fix bug parsing while loop expressionsPhilip Herron2-14/+32
2021-02-11Merge branch 'master' of https://github.com/redbrain/gccrsSimplyTheOther2-58/+141
2021-02-10Return expressions can be empty which us unit-typePhilip Herron1-2/+4
2021-02-10Give ParseRestriction option to allow for null parse_expr.Philip Herron2-4/+9
2021-02-10Fix parse of LoopExpr as part of a normal expressionPhilip Herron2-9/+27