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