X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Ftest.c;h=25497b0d22502b0bb7c806ed817a873e36836781;hb=b7a2685d39da39f69ee4530dda2ec5977159dc0c;hp=549e5eaa69e890f6c70b2c053474152028f2f571;hpb=cbfeec1f4192adbd7adb494ef79447366f051c20;p=dsw-obn.git diff --git a/src/test.c b/src/test.c index 549e5ea..25497b0 100644 --- a/src/test.c +++ b/src/test.c @@ -9,17 +9,13 @@ static char source_test[] = "MODULE Test;" "IMPORT Out;" "" - "VAR" - " i : INTEGER;" - "" "BEGIN" - " i := 0;" - " Out.Open();" - " WHILE i < 4 DO" - " Out.String('Count '); Out.Int(i, 0); Out.Ln;" - " i := i + 1;" + " Out.Open;" + " IF 8 IN { 2, 3, 7..10 } THEN" + " Out.String('Yes'); Out.Ln;" + " ELSE" + " Out.String('No'); Out.Ln;" " END;" - " Out.String('end'); Out.Ln;" "END Test." ;