aboutsummaryrefslogtreecommitdiff
path: root/examples/wrong.c
diff options
context:
space:
mode:
authorRaymaekers Luca <luca@spacehb.net>2025-03-29 14:24:07 +0100
committerRaymaekers Luca <luca@spacehb.net>2025-04-27 11:12:40 +0200
commit85af2d80c35d060cc003302115c7a8975b545afe (patch)
tree4becc19c5495e99930a994eca932bf9adceeec05 /examples/wrong.c
parent1cc92de9f83a87e474ff405176ee6681146be762 (diff)
Code compression; Added error stack
Diffstat (limited to 'examples/wrong.c')
-rw-r--r--examples/wrong.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/examples/wrong.c b/examples/wrong.c
new file mode 100644
index 0000000..7da07f4
--- /dev/null
+++ b/examples/wrong.c
@@ -0,0 +1,13 @@
+#include <stdio.h>
+
+@table(name, str) MyEnumTable
+{
+ { A "A" }
+ { B "Beau gosse" }
+ { C "C" }
+}
+
+char *StringTable[MyEnum_Count] = {
+ @expand(MyEnumTabl a
+ ` $(b.lolol),`
+}; \ No newline at end of file