- Dec 07, 2020
-
-
Rui Ueyama authored
-
Rui Ueyama authored
Previously, chibicc's sizeof accepted only an expression, so you couldn't write something like `sizeof(int)`. Now it accepts that.
-
Rui Ueyama authored
In the following example, `x` is defined as an alias for `int`. typedef x; Below is valid C code where the second `t` is a local variable of type int having value 3. typedef int t; t t = 3;
-
Rui Ueyama authored
-
Rui Ueyama authored
chibicc can now read complex type declarations such as below. long x; long int x; int long x; short x; short int x; int short x; long long x; long long int x;
-
Rui Ueyama authored
-
Rui Ueyama authored
-
Rui Ueyama authored
-
- Oct 15, 2020
-
-
Rui Ueyama authored
-
Rui Ueyama authored
-
Rui Ueyama authored
-
Rui Ueyama authored
-
Rui Ueyama authored
-
Rui Ueyama authored
-
Rui Ueyama authored
-
Rui Ueyama authored
-
Rui Ueyama authored
-
Rui Ueyama authored
-
Rui Ueyama authored
This patch allows writing a comma expression on the left-hand side of an assignment expression. This is called the "generalized lvalue" which is a deprecated GCC language extension. I'm implementing it anyway because it's useful to implement other features.
-
Rui Ueyama authored
With these directives, gdb can print out an error location when a compiled program crashes.
-
Rui Ueyama authored
No functionality change
-
Rui Ueyama authored
-
- Oct 08, 2020
-
-
Rui Ueyama authored
-
Rui Ueyama authored
-
Rui Ueyama authored
-
Rui Ueyama authored
-
Rui Ueyama authored
-
Rui Ueyama authored
This is a GNU C extension but will be useful for writing tests.
-
Rui Ueyama authored
-
Rui Ueyama authored
-
Rui Ueyama authored
-
Rui Ueyama authored
-
- Oct 07, 2020
-
-
Rui Ueyama authored
-
Rui Ueyama authored
-
Rui Ueyama authored
-
Rui Ueyama authored
No functional change
-
Rui Ueyama authored
-
Rui Ueyama authored
-
Rui Ueyama authored
-
Rui Ueyama authored
-