diff --git a/ModelicaReference/package.mo b/ModelicaReference/package.mo
index 286bc76847..e049ea2ee8 100644
--- a/ModelicaReference/package.mo
+++ b/ModelicaReference/package.mo
@@ -1980,7 +1980,7 @@ Example of function partial application as argument, positional argument passing
input Real A;
input Real w;
algorithm
- y:=A*Modelica.Math.sin(w*x);
+ y := A*Modelica.Math.sin(w*x);
end Sine;
//Call with function partial application as named input argument:
@@ -2000,7 +2000,7 @@ application:
input Real x; // Note: x is now last in argument list.
output Real y;
algorithm
- y:=A*Modelica.Math.sin(w*x);
+ y := A*Modelica.Math.sin(w*x);
end Sine2;
// The partially evaluated Sine2 has only one argument:
@@ -2041,7 +2041,7 @@ a component, according to case (d) above:
algorithm
// Case (b) and (c)
integral := quadrature(x1, x2,
- function quadratureOnce(y1=y1, y2=y2, integrand=integrand);
+ function quadratureOnce(y1=y1, y2=y2, integrand=integrand));
end surfaceQuadrature;