-
-
Notifications
You must be signed in to change notification settings - Fork 40
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
If i first ;compile
```python
print("Hello World!")
```
and then quote that one with a ;compile
```c
int main() {
return 1;
}
```
i get a gcc error message:
<source>: In function 'main':
<source>:3:1: warning: implicit declaration of function 'print' [-Wimplicit-function-declaration]
3 | print("Hello World!")
| ^~~~~
<source>:3:22: error: expected ';' before 'return'
3 | print("Hello World!")
| ^
| ;
4 |
5 | return 0;
| ~~~~~~
Build failed
Since it is compiling the code from the first text it should also use the language of the first text.
Of course this is a niche use case and as such low priority.
ThomasByr
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working