fix debug symbols
This commit is contained in:
@@ -5353,7 +5353,7 @@ ResultType(voidPtr, ErrorMessage) outputToFile(CometCompiler* c, const char* fil
|
||||
fwrite(&sourceLen, sizeof(size_t), 1, file);
|
||||
fwrite(c->sourceCode, 1, sourceLen, file);
|
||||
|
||||
//fwrite(c->debugInstInfo.pointer, sizeof(uint64_t), c->programIdx, file);
|
||||
fwrite(c->debugInstInfo.pointer, sizeof(uint64_t), instCount, file);
|
||||
}
|
||||
|
||||
fclose(file);
|
||||
|
||||
10
test.comet
10
test.comet
@@ -1,8 +1,16 @@
|
||||
import socket
|
||||
import io
|
||||
|
||||
func main() -> int {
|
||||
socket.Socket s = new socket.Socket(socket.Family.INET, socket.Type.STREAM, 0)
|
||||
s.connect("https://google.com", 22)
|
||||
|
||||
s.connect("example.com", 80)
|
||||
s.send("GET / HTTP/1.1\r\nHost: example.com\r\n\r\n")
|
||||
|
||||
string response = s.readAll()
|
||||
io.println("Response: %s", response)
|
||||
|
||||
s.close()
|
||||
|
||||
return 0
|
||||
}
|
||||
Reference in New Issue
Block a user