aboutsummaryrefslogtreecommitdiff
path: root/compiler/parser.c
AgeCommit message (Expand)AuthorFilesLines
2020-07-17C backend: Add tests of runtime expressions. Fix anon and stmt typedef enumsSamuel Lidén Borell1-0/+3
2020-07-13Identifier: Allow type parameter references from typedef statementsSamuel Lidén Borell1-1/+2
2020-07-05Add "with" to switch-case statement, to track which case was matchedSamuel Lidén Borell1-37/+51
2020-07-04Parser: Change precedence of makeopt operatorSamuel Lidén Borell1-14/+18
2020-07-04Parser: Add check of break/continue statementSamuel Lidén Borell1-19/+29
2020-07-01Verifier: Reduce the number of errors from malformed typeassertsSamuel Lidén Borell1-2/+1
2020-06-25Parser: Hide loop variables in statements following the loopSamuel Lidén Borell1-2/+4
2020-06-25Identifier: Make type parameters accessible within the same namespaceSamuel Lidén Borell1-1/+3
2017-09-21C backend: Include LRL expression/filename/line in assert messagesSamuel Lidén Borell1-0/+3
2017-08-29Verifier: Limit when var/const qualifiers can be usedSamuel Lidén Borell1-28/+56
2017-08-29Verifier: Fix typedef statements (typedefs inside functions)Samuel Lidén Borell1-1/+6
2017-08-28Add Makefile target to run clang-tidy, and fix most warningsSamuel Lidén Borell1-3/+1
2017-08-14Verifier: Check that "return" statement has a value for non-void functionsSamuel Lidén Borell1-0/+1
2016-04-17Parser: Add "unreachable" statementSamuel Lidén Borell1-0/+6
2016-04-16Add "assert" statementSamuel Lidén Borell1-0/+6
2016-03-28Parser: Fix scope of enum members in typedefsSamuel Lidén Borell1-3/+20
2016-03-20Parser: Disallow namespaces in struct members, enum values, etc.Samuel Lidén Borell1-10/+21
2016-03-20Parser: Fix error recovery when parsing noreturn functionsSamuel Lidén Borell1-6/+10
2016-03-19Parser: Report error if right operand is missing inside an exprlistSamuel Lidén Borell1-0/+9
2016-03-19Parser: Report error on binary and postfix operators without a left operandSamuel Lidén Borell1-2/+5
2016-03-02Parser: Fix read of uninitialized data in broken interop statementsSamuel Lidén Borell1-0/+1
2016-03-02Verifier: Disallow assignment operations in expressionsSamuel Lidén Borell1-0/+1
2016-03-01Parser: Fix token pointer going out of bounds on EOF in unexpected type paramSamuel Lidén Borell1-6/+4
2016-02-28Update copyright years base on last modification dateSamuel Lidén Borell1-1/+1
2016-02-27Context: Use correct terminology (declaration/definition) in error messagesSamuel Lidén Borell1-1/+1
2015-07-20Fix name clash with "noreturn" in stdnoreturn.hSamuel Lidén Borell1-9/+9
2015-07-20Remove trailing whitespace (except in indentation)Samuel Lidén Borell1-2/+2
2015-07-14Add case labels for all token types in most places, and turn on -Wswitch-enumSamuel Lidén Borell1-7/+8
2015-07-13Fix some -Weverything warnings from ClangSamuel Lidén Borell1-12/+3
2015-07-11Parser: Fix uninitialized variable after error recoverySamuel Lidén Borell1-0/+1
2015-03-01Parser/Verifier: Fix more bugs found with zzufSamuel Lidén Borell1-3/+6
2015-02-28Fix most remaining crashes and freezes found with zzufSamuel Lidén Borell1-9/+30
2015-02-27Parser: Fix switch statement EOF error testSamuel Lidén Borell1-1/+1
2015-02-27Parser/Verifier: Fix more crashes and freezes found with zzufSamuel Lidén Borell1-6/+20
2015-02-26Parser/Verifier: Fix some crashes and freezes found with zzufSamuel Lidén Borell1-4/+5
2015-02-22Parser: Show the expected token when an unexpected token is encounteredSamuel Lidén Borell1-1/+25
2015-02-22Parser: Forbid "namespace X;" syntaxSamuel Lidén Borell1-14/+5
2015-02-22Parser: typeassert def flag should be an internal flagSamuel Lidén Borell1-1/+1
2015-02-20Improve error handling regarding the interop and/or cyclic identifiersSamuel Lidén Borell1-0/+1
2015-02-19C backend: Beginning of typeasserts (without any checks so far)Samuel Lidén Borell1-1/+6
2015-02-18Parser: Improve error message for statements like "int a[2]"Samuel Lidén Borell1-1/+14
2015-02-18Update and remove old TODO commentsSamuel Lidén Borell1-4/+6
2015-02-18Parser: Fix typeassert statementSamuel Lidén Borell1-15/+7
2015-02-16Parser: typeassert statement and expressionSamuel Lidén Borell1-1/+117
2015-02-09Use try_realloc instead of using realloc directlySamuel Lidén Borell1-2/+2
2015-02-05Parser: Add keyword fuzzing script, and fix some crashes and endless loopsSamuel Lidén Borell1-2/+8
2015-02-05Parser: Add "deprecated" keywordSamuel Lidén Borell1-3/+11
2015-02-05Parser: Rename end/empty to loopend/loopemptySamuel Lidén Borell1-4/+4
2015-02-05Parser: Include # character in error messages about array typesSamuel Lidén Borell1-1/+1
2015-02-01Parser/Verifier/C backend: Partial implementation of end/empty blocksSamuel Lidén Borell1-1/+24