summaryrefslogtreecommitdiff
path: root/comp/lucas-standen-NEA/code2/examples
diff options
context:
space:
mode:
Diffstat (limited to 'comp/lucas-standen-NEA/code2/examples')
-rw-r--r--comp/lucas-standen-NEA/code2/examples/Makefile4
-rw-r--r--comp/lucas-standen-NEA/code2/examples/syntaxerr.zpy3
-rw-r--r--comp/lucas-standen-NEA/code2/examples/tmp.zpy.c2
3 files changed, 8 insertions, 1 deletions
diff --git a/comp/lucas-standen-NEA/code2/examples/Makefile b/comp/lucas-standen-NEA/code2/examples/Makefile
index cbdcda1..18a9e64 100644
--- a/comp/lucas-standen-NEA/code2/examples/Makefile
+++ b/comp/lucas-standen-NEA/code2/examples/Makefile
@@ -3,5 +3,7 @@ all:
zpy spaceinvaders.zpy -o spaceinvaders -f -lraylib -f -lm -i raylib.h
zpy fib_example.zpy -o fib_example -f -ggdb
zpy str_example.zpy -o str_example -f -ggdb
+
+ zpy syntaxerr.zpy -o syntaxerr
clean:
- rm -rf fib_example raylib_example str_example spaceinvaders
+ rm -rf fib_example raylib_example str_example spaceinvaders tmp.zpy.c
diff --git a/comp/lucas-standen-NEA/code2/examples/syntaxerr.zpy b/comp/lucas-standen-NEA/code2/examples/syntaxerr.zpy
new file mode 100644
index 0000000..c74d53b
--- /dev/null
+++ b/comp/lucas-standen-NEA/code2/examples/syntaxerr.zpy
@@ -0,0 +1,3 @@
+(defun main int)
+ (return)
+(endfun)
diff --git a/comp/lucas-standen-NEA/code2/examples/tmp.zpy.c b/comp/lucas-standen-NEA/code2/examples/tmp.zpy.c
new file mode 100644
index 0000000..2305f24
--- /dev/null
+++ b/comp/lucas-standen-NEA/code2/examples/tmp.zpy.c
@@ -0,0 +1,2 @@
+#include <zpylib.h>
+int main(){