Explorar el Código

* Correct indentation of generated code in case of With

git-svn-id: trunk@34469 -
michael hace 9 años
padre
commit
1d67fbc2b7
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      packages/fcl-db/src/codegen/fpddpopcode.pp

+ 3 - 1
packages/fcl-db/src/codegen/fpddpopcode.pp

@@ -371,7 +371,9 @@ begin
     If DoSequence(S) then
       CreateSequenceCode(S,Lines);
     end;
+
   If (dcoProcedurePerTable in Options) then
+
     EndProcedure(Lines);
 end;
 
@@ -396,7 +398,7 @@ begin
   If (dcoUseWith in Options) then
      begin
      AddLine('end;',Lines);
-     Indent;
+     Undent;
      end;
 end;