X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=test.c;h=da6a8041e833c307ff423b8411513067390e8c53;hb=d465a8b1fddbbabcf4f9739e80e9e82dc945028e;hp=0837de4ef28f6ba05ca3dbe8f4c191e95fd0caa5;hpb=390a7e053165954865bc013a7c7057982c206453;p=dsw-obn.git diff --git a/test.c b/test.c index 0837de4..da6a804 100644 --- a/test.c +++ b/test.c @@ -7,10 +7,17 @@ static const char source[] = " k : INTEGER;" " i : INTEGER;" " b : BOOLEAN;" + "" + "PROCEDURE Tier;" "BEGIN" - " k := -10 + 1;" + " k := 314;" + "END Tier;" + "" + "BEGIN" + " k := 1;" " i := k;" - " b := ~TRUE OR FALSE;" + " b := TRUE;" + " Tier;" "END Test." ; @@ -22,6 +29,7 @@ main(int argc, char ** argv) { ctx = oberon_create_context(); mod = oberon_compile_module(ctx, source); + //mod -> begin(); oberon_destroy_context(ctx); return 0; }