2
0
Эх сурвалжийг харах

Fixed syntax error

git-svn-id: https://svn.inf.ethz.ch/svn/lecturers/a2/trunk@8103 8c9fc860-2736-0410-a75d-ab315db34111
negelef 7 жил өмнө
parent
commit
1a2111b08a
1 өөрчлөгдсөн 2 нэмэгдсэн , 2 устгасан
  1. 2 2
      source/Options.Mod

+ 2 - 2
source/Options.Mod

@@ -510,10 +510,10 @@ TYPE
 					options[index].timestamp := timestamp;
 					CASE options[index].type OF
 					| Flag:
-						IF (string = "yes") | (string = "on") | (string = "true") THEN
+						IF (string = "yes") OR (string = "on") OR (string = "true") THEN
 							options[index].isSet := TRUE;
 							RETURN TRUE;
-						ELSIF (string = "no") | (string = "off") | (string = "false") THEN
+						ELSIF (string = "no") OR (string = "off") OR (string = "false") THEN
 							options[index].isSet := FALSE;
 							RETURN TRUE;
 						ELSIF (error # NIL) THEN