Forráskód Böngészése

* use new expression store for rvalue of constant declarations. Patch by Anton, Mantis 19403

git-svn-id: trunk@17543 -
marco 14 éve
szülő
commit
3d86949990
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      utils/fpdoc/dw_html.pp

+ 1 - 1
utils/fpdoc/dw_html.pp

@@ -2644,7 +2644,7 @@ begin
     AppendSym(CodeEl, ': ');
     AppendSym(CodeEl, ': ');
     AppendType(CodeEl, TableEl, AConst.VarType, False);
     AppendType(CodeEl, TableEl, AConst.VarType, False);
   end;
   end;
-  AppendPasSHFragment(CodeEl, ' = ' + AConst.Value + ';', 0);
+  AppendPasSHFragment(CodeEl, ' = ' + AConst.Expr.GetDeclaration(True) + ';', 0);
 
 
   FinishElementPage(AConst);
   FinishElementPage(AConst);
 end;
 end;