소스 검색

* more small indentation fixes

git-svn-id: trunk@15455 -
Jonas Maebe 15 년 전
부모
커밋
d6d411442b
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 3
      compiler/pstatmnt.pas

+ 1 - 3
compiler/pstatmnt.pas

@@ -502,11 +502,9 @@ implementation
          hloopvar:=factor(false);
          valid_for_loopvar(hloopvar,true);
 
-
          if try_to_consume(_ASSIGNMENT) then
            result:=for_loop_create(hloopvar)
-         else
-         if try_to_consume(_IN) then
+         else if try_to_consume(_IN) then
            result:=for_in_loop_create(hloopvar)
          else
            consume(_ASSIGNMENT); // fail