aboutsummaryrefslogtreecommitdiff
path: root/compiler/context.c
AgeCommit message (Expand)AuthorFilesLines
2020-07-13Verifier: Check for invalid type parameter referencesSamuel Lidén Borell1-1/+2
2020-06-29Constexpr: Handle constexprs referencing other constexprs properlySamuel Lidén Borell1-2/+9
2020-06-28Context: Add support for tracking error sources. More usable error displaySamuel Lidén Borell1-14/+95
2016-04-13Cast to uintptr_t when comparing pointers in different objectsSamuel Lidén Borell1-1/+2
2016-04-04C interop: Error reporting from the interopSamuel Lidén Borell1-12/+33
2016-04-03Context: Fix "cycle detected" error with identifiers from interop statementsSamuel Lidén Borell1-36/+40
2016-04-03C interop: Initialize typerefs->prm properlySamuel Lidén Borell1-0/+3
2016-02-28Update copyright years base on last modification dateSamuel Lidén Borell1-1/+1
2016-02-25Verifier: Fix type determination of logic and comparison operationsSamuel Lidén Borell1-0/+4
2015-02-22Parser: Show the expected token when an unexpected token is encounteredSamuel Lidén Borell1-0/+7
2015-02-20Improve error handling regarding the interop and/or cyclic identifiersSamuel Lidén Borell1-2/+58
2014-09-12Parser: Rename "import" to "uses" and add local/export/import def flagsSamuel Lidén Borell1-4/+4
2014-08-05Rewrite some initializers to not require relocationsSamuel Lidén Borell1-129/+25
2014-07-27C interop: Report error if the interop fails before parsingSamuel Lidén Borell1-1/+3
2014-07-27Update copyright yearsSamuel Lidén Borell1-1/+1
2014-07-27Verifier: Use constexpr in more placesSamuel Lidén Borell1-1/+2
2014-07-19Interop: Improve error handlingSamuel Lidén Borell1-0/+2
2014-07-12New operators: sizeof, minsizeof, alignof and offsetof (incomplete impl)Samuel Lidén Borell1-0/+5
2014-07-05Implement do-while loopSamuel Lidén Borell1-0/+1
2014-06-28Verifier: Check that goto target identifiers are valid goto labelsSamuel Lidén Borell1-0/+1
2014-06-28Verifier: Check structural compatibility of enum typesSamuel Lidén Borell1-0/+4
2014-06-26Tests: Fix unreported errors in the parserSamuel Lidén Borell1-1/+3
2014-06-22Add "enumbase" operator which returns the base value of an enum valueSamuel Lidén Borell1-0/+1
2014-06-17Make "shared" qualifier togglable with "mine" qualifierSamuel Lidén Borell1-1/+1
2014-06-12Verifier: Unknown-length arrays may not be storedSamuel Lidén Borell1-0/+1
2014-06-07Parser: Implement noreturn and C-style varargsSamuel Lidén Borell1-0/+2
2014-06-01Verifier: Implement raw pointer type, and allow assigning T^ to T^?Samuel Lidén Borell1-0/+1
2014-05-31Verifier: Check for too few elements in struct literalsSamuel Lidén Borell1-0/+1
2014-05-31Tests: Implement proper testing of errors (*.bad files)Samuel Lidén Borell1-4/+21
2014-05-30Verifier: Type compatibility checking of type paramsSamuel Lidén Borell1-0/+1
2014-05-24Verifier: Require struct/union members and array elements to be equal alsoSamuel Lidén Borell1-1/+1
2014-05-23Verifier: Pointer target types must be equal, not just a subtypeSamuel Lidén Borell1-0/+1
2014-05-18Verifier: Determine type of array literals in array index expressionsSamuel Lidén Borell1-0/+1
2014-05-08Verifier: Check type compatibility of unions alsoSamuel Lidén Borell1-1/+1
2014-05-08Verifier: Check type compatibility of structsSamuel Lidén Borell1-0/+2
2014-05-03Shorten many function and type namesSamuel Lidén Borell1-57/+51
2014-03-22Tokenizer: Disallow repeated plus/minusSamuel Lidén Borell1-1/+2
2013-12-04Verifier: Make "Expression doesn't match type" error messages more specificSamuel Lidén Borell1-1/+10
2013-12-01Add "any" type, which can be used in pointers like "void*" in CSamuel Lidén Borell1-0/+1
2013-11-21Basic support for bitfield typesSamuel Lidén Borell1-1/+3
2013-11-17Context: Make error message easier to understandSamuel Lidén Borell1-1/+1
2013-10-29Beginning of an "interop" system that parses C headersSamuel Lidén Borell1-13/+36
2013-10-23Add (void) to parameterless functionsSamuel Lidén Borell1-1/+1
2013-09-19Verifier/C backend: Implement "for" loop with arrays and direct iterator typesSamuel Lidén Borell1-1/+3
2013-09-15Context: Fix typoSamuel Lidén Borell1-1/+1
2013-09-15Parser: Handle mismatched } instead of crashingSamuel Lidén Borell1-1/+2
2013-09-14Constexpr: Evaluate array index expressionsSamuel Lidén Borell1-1/+2
2013-09-09Parser: New syntax 'linkname "xx";' to set linkname inside a namespaceSamuel Lidén Borell1-1/+0
2013-08-31Strings: Parsing of unicode escape codesSamuel Lidén Borell1-0/+1
2013-08-28Parser: Disallow const/var where it's the default in type and data defsSamuel Lidén Borell1-0/+2