This website requires JavaScript.
Explore
Help
Register
Sign In
shishantbiswas
/
c3c
Watch
1
Star
1
Fork
0
You've already forked c3c
mirror of
https://github.com/c3lang/c3c.git
synced
2026-02-27 12:01:16 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
009ccfd730bb6041d81f63a7189715833f05b266
c3c
/
test
/
test_suite
History
Christoffer Lerno
009ccfd730
Adding assert.
2020-08-01 20:53:47 +02:00
..
arrays
Corrected parsing for incremental arrays. Correctly handle failed declarations. More tests.
2020-07-25 21:54:32 +02:00
assert
Adding assert.
2020-08-01 20:53:47 +02:00
comments
Changed how structs/unions are parsed so that recovery becomes more robust. Allow for more complex error data. Fixed recursive structs/unions. Corrected prefix precedence rules. Begin work on checking initializer constant-ness. Fixed error on failed arithmetic promotion. Added checks on constant overflow of sub/add/mult. Allow "current_module_name::x" to refer to globals. Added many tests.
2020-07-23 18:04:18 +02:00
constants
Constants are now variables. Constant compile time constants are typeless and act as #define and are now also correctly parsed. Enums are also correctly lowered. And expressions are copied when inlining constants. Compile time ints can no longer be bitnegated.
2020-07-29 22:08:47 +02:00
errors
Fixes to !! operator + tests.
2020-07-29 12:07:56 +02:00
expressions
Constants are now variables. Constant compile time constants are typeless and act as #define and are now also correctly parsed. Enums are also correctly lowered. And expressions are copied when inlining constants. Compile time ints can no longer be bitnegated.
2020-07-29 22:08:47 +02:00
functions
Fixed multi line error reporting for tokens. Handle infinite empty for loops. Changed cast syntax to "cast(foo as Foo)". Completed enum casts. Added more tests.
2020-07-25 21:54:32 +02:00
globals
Support for $assert. Also change order of checking global declarations from parsing to semantic analysis.
2020-07-30 17:44:41 +02:00
module
Fixed crash bug on missing module, and on file name == keyword. Added summary to tester and corrected filename.
2020-07-25 21:54:32 +02:00
statements
Corrected ptr->bool conversion. Avoid checking function body if function is invalid. Switch defer test cases.
2020-07-28 17:37:48 +02:00
strings
Fix, separate out the function pass from the decl pass. Diagnose non-visible symbols as not visible rather than missing. Fix crash when module identifier is incorrect. !! operator added. New character literal parsing. Added simple test framework.
2020-07-21 23:43:28 +02:00
struct
Fixes to defer, allowing break in defer (instead of continue). Fixed bug in PTR->BOOL cast. Extended test system to support multi files and codegen.
2020-07-27 11:40:45 +02:00
subarrays
Support for $assert. Also change order of checking global declarations from parsing to semantic analysis.
2020-07-30 17:44:41 +02:00
symbols
Changed how structs/unions are parsed so that recovery becomes more robust. Allow for more complex error data. Fixed recursive structs/unions. Corrected prefix precedence rules. Begin work on checking initializer constant-ness. Fixed error on failed arithmetic promotion. Added checks on constant overflow of sub/add/mult. Allow "current_module_name::x" to refer to globals. Added many tests.
2020-07-23 18:04:18 +02:00
types
Corrected ptr->bool conversion. Avoid checking function body if function is invalid. Switch defer test cases.
2020-07-28 17:37:48 +02:00
visibility
Support for $assert. Also change order of checking global declarations from parsing to semantic analysis.
2020-07-30 17:44:41 +02:00