aboutsummaryrefslogtreecommitdiff
path: root/compiler/tests/parser
AgeCommit message (Expand)AuthorFilesLines
2020-08-16Add "char" typeSamuel Lidén Borell2-13/+13
2020-07-13Tests: Add missing return statements to testsSamuel Lidén Borell16-20/+23
2020-07-05Add "with" to switch-case statement, to track which case was matchedSamuel Lidén Borell1-0/+31
2020-07-04Parser: Add check of break/continue statementSamuel Lidén Borell2-0/+46
2020-07-03Tests: Extend the existing tests + fix locale bug in scriptSamuel Lidén Borell2-3/+7
2020-06-29Constexpr: Handle constexprs referencing other constexprs properlySamuel Lidén Borell1-1/+5
2020-06-25Identifier: Make type parameters accessible within the same namespaceSamuel Lidén Borell1-4/+38
2017-08-29Verifier: Limit when var/const qualifiers can be usedSamuel Lidén Borell2-4/+6
2017-08-29Verifier: Fix typedef statements (typedefs inside functions)Samuel Lidén Borell2-2/+22
2017-08-17C backend: Implement non-scalar switch statementSamuel Lidén Borell1-0/+5
2016-04-23C backend: Use typerefs and implement translation of incomplete generic typesSamuel Lidén Borell1-2/+2
2016-04-17Parser: Add "unreachable" statementSamuel Lidén Borell1-0/+8
2016-04-16Add "assert" statementSamuel Lidén Borell1-0/+8
2016-03-20Parser: Disallow namespaces in struct members, enum values, etc.Samuel Lidén Borell1-0/+31
2016-03-20Verifier: Require unsigned integer operands to bitwise operatorsSamuel Lidén Borell1-2/+3
2016-03-20Verifier: Always check the type in as/typeassert expressionsSamuel Lidén Borell1-1/+3
2016-03-20Parser: Fix error recovery when parsing noreturn functionsSamuel Lidén Borell1-0/+25
2016-03-20Main: Optional errors with --expect-errorsSamuel Lidén Borell1-1/+1
2016-03-19Parser: Report error if right operand is missing inside an exprlistSamuel Lidén Borell1-1/+5
2016-03-19Parser: Report error on binary and postfix operators without a left operandSamuel Lidén Borell1-0/+18
2016-03-19String: Fix null pointer access in linknames with unescaped nested commentSamuel Lidén Borell1-0/+4
2016-03-02Verifier: Disallow assignment operations in expressionsSamuel Lidén Borell1-3/+0
2016-03-01Tests: Add error commentsSamuel Lidén Borell1-1/+3
2016-03-01Parser: Fix token pointer going out of bounds on EOF in unexpected type paramSamuel Lidén Borell1-0/+4
2015-07-11Parser: Fix uninitialized variable after error recoverySamuel Lidén Borell1-0/+3
2015-03-01Parser/Verifier: Fix more bugs found with zzufSamuel Lidén Borell1-4/+14
2015-02-28Fix most remaining crashes and freezes found with zzufSamuel Lidén Borell7-1/+48
2015-02-27Parser: Fix switch statement EOF error testSamuel Lidén Borell1-2/+4
2015-02-27Parser/Verifier: Fix more crashes and freezes found with zzufSamuel Lidén Borell3-0/+25
2015-02-26Parser/Verifier: Fix some crashes and freezes found with zzufSamuel Lidén Borell3-0/+8
2015-02-26Tests: Don't try to use "gc" keyword as an identifierSamuel Lidén Borell1-6/+6
2015-02-22Tests: Remove forbidden syntax "namespace X;" from testsSamuel Lidén Borell2-6/+6
2015-02-22Parser: Forbid "namespace X;" syntaxSamuel Lidén Borell1-5/+6
2015-02-05Parser: Add "deprecated" keywordSamuel Lidén Borell2-0/+18
2015-02-05Parser: Rename end/empty to loopend/loopemptySamuel Lidén Borell2-15/+15
2015-02-01Parser/Verifier/C backend: Partial implementation of end/empty blocksSamuel Lidén Borell2-0/+67
2015-01-29Verifier: Allow "declonly" variables with unknown sizeSamuel Lidén Borell1-0/+5
2015-01-29Parser/C backend: Add "declonly" (C "extern") linkage keywordSamuel Lidén Borell2-6/+14
2014-09-12Parser: Rename "import" to "uses" and add local/export/import def flagsSamuel Lidén Borell3-4/+63
2014-07-27Verifier: Use constexpr in more placesSamuel Lidén Borell1-1/+3
2014-07-20Tests: Fix array testsSamuel Lidén Borell1-2/+9
2014-07-05Implement do-while loopSamuel Lidén Borell2-0/+24
2014-06-28Verifier: Check that goto target identifiers are valid goto labelsSamuel Lidén Borell1-0/+3
2014-06-26Tests: Fix unreported errors in the parserSamuel Lidén Borell2-3/+5
2014-06-09Parser: Implement switch statementSamuel Lidén Borell2-0/+64
2014-06-07Parser: Change vararg syntax to match C (except the different vararg symbols)Samuel Lidén Borell2-10/+10
2014-06-07Parser: Implement noreturn and C-style varargsSamuel Lidén Borell2-0/+53
2014-05-31Tests: Implement proper testing of errors (*.bad files)Samuel Lidén Borell41-96/+141
2014-03-23Tests: Fix non compile time computable valuesSamuel Lidén Borell2-14/+20
2014-03-20Parser: Implement goto/skipto/repeatfrom and labelsSamuel Lidén Borell2-0/+52