Section 67G(3)(c) in The Punjab Factory Rules, 1952
(c)Where a footway passes close to a building or other obstruction as it approaches a railway track a barrier or a turngate shall be fixed in such a manner that a person approaching the track is compelled to move away from the building or obstruction and thus obtain timely sight of an approaching locomotive or wagon.