Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions xc-tutor.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
#include <memory.h>
#include <string.h>
#include <stdint.h>
#include <fcntl.h>
#include <unistd.h>
#define int intptr_t

int token; // current token
Expand Down
2 changes: 2 additions & 0 deletions xc.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
#include <stdlib.h>
#include <memory.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#define int long long // to work with 64bit address

int debug; // print the executed instructions
Expand Down