Missing definition of structs
authorRoman Zimmermann <torotil@gmail.com>
Sat, 24 Apr 2010 22:23:34 +0000 (00:23 +0200)
committerRoman Zimmermann <torotil@gmail.com>
Sat, 24 Apr 2010 22:23:34 +0000 (00:23 +0200)
Checks wheter all idents that appear behind a dot in Lexpr are
properly defined in a struct section.

ag/torotil_01.3 [new file with mode: 0644]

diff --git a/ag/torotil_01.3 b/ag/torotil_01.3
new file mode 100644 (file)
index 0000000..84d6480
--- /dev/null
@@ -0,0 +1,9 @@
+struct 
+    one struct_not defined
+end;
+
+method main(a b)
+   var something := 0x42;
+   var the := 0x42;
+   the.one.missing_struct := something;
+end;