anthropics / anthropics/claudes-c-compiler
Support for nested functions (GNU C)
Aberta
- Linguagem predominante
- Rust
- Estrelas
- 2.8k
- Forks
- 247
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
https://gcc.gnu.org/onlinedocs/gcc/Nested-Functions.html
Example:
```C
#include
int main(void) {
void test(void) {
printf("A\n");
}
test();
return 0;
}
```
```shell
$ claudes-c-compiler/target/release/ccc-x86 a.c -o a
a.c:5:18: error: expected ';' after declaration before '{'
void test(void) {
^
fix-it hint: insert ';'
ccc: error: a.c: 1 parse error(s)
```
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Avaliação
Esta issue ainda não foi avaliada.