aboutsummaryrefslogtreecommitdiff
path: root/examples/wrong.c
diff options
context:
space:
mode:
authorRaymaekers Luca <luca@spacehb.net>2025-03-19 14:00:00 +0100
committerRaymaekers Luca <luca@spacehb.net>2025-03-19 14:00:00 +0100
commit3cdd8a0649c33214f954ae6b4434f5ed2df9c9bd (patch)
tree4becc19c5495e99930a994eca932bf9adceeec05 /examples/wrong.c
parenta94a135f6a6d5865958091be33df904dbd3f777d (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