Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
clean-and-itasks
sapl-interpreter
Commits
8ffe567c
Commit
8ffe567c
authored
Aug 24, 2015
by
Laszlo Domoszlai
Browse files
fix clang generated code
parent
80ab7165
Changes
3
Hide whitespace changes
Inline
Side-by-side
interpreter/Makefile
View file @
8ffe567c
TARGET
=
main
LIBS
=
CC
=
g++
CC
=
clan
g++
CFLAGS
=
-g
-Wno-write-strings
.PHONY
:
default all clean
...
...
interpreter/code.c
View file @
8ffe567c
...
...
@@ -170,4 +170,6 @@ exec(Code* expr, int frame_ptr, Thunk* target, bool force)
printf
(
"Exec: Unhandled CODE type"
);
exit
(
-
1
);
}
return
NULL
;
}
interpreter/thunk.h
View file @
8ffe567c
...
...
@@ -21,6 +21,8 @@ typedef struct __attribute__((packed)) Thunk {
};
}
Thunk
;
#pragma pack(pop)
Thunk
*
forward_to
(
Thunk
*
target
,
Thunk
*
thunk
);
struct
Thunk
*
updateI
(
Thunk
*
target
,
int
i
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment