The principal question which arises in these cases is as to the construction of the St. of 1861, c. 100, which reads as follows; “ If the owner or occupant of any land adjoining any railroad in this Commonwealth, has taken or shall take into his inclosure, any part of the land belonging to said railroad, as located and established, or has erected or shall erect any building upon, or has occupied or shall occupy for the purposes of cultivation or otherwise, any land belonging to or included within the location of any such railroad, no continuance of such inclosure, building, or length of possession or occupancy of the land belonging to such railroad, so inclosed or occupied, shall create in such adjoining owner or occupant, or in any person claiming under him, any right to the land belonging to such railroad so inclosed or occupied.”
This statute has been before the court in three cases, but in none of them was the question now before us involved. Fisher v. New York & New England Railroad, 135 Mass. 107. Turner v. Fitchburg Railroad, 145 Mass. 433. Littlefield v. Boston & Albany Railroad, 146 Mass. 268.
The tenant contends that this statute applies not only to land included within the location of a railroad, but also to land acquired by purchase lying adjacent to the location. The meaning of the statute is not free from doubt. The words “ as located and established ” .plainly refer to the land included within the location which the railroad corporation has the right *286to take by the right of eminent domain. The clause “ or shall occupy for the purposes of cultivation or otherwise, any land, belonging to or included within the location of any such railroad ” may be read so as to apply either to the location or to any land belonging to the railroad. Thus, if commas should be inserted after the words “to” and “ within,” the meaning would be plain that the land to which the statute was intended to apply was that within the location, although the words “ belonging to ” would .be superfluous. On the other hand, if commas were inserted after the words “ to ” and “ of,” the meaning would be equally plain that the statute applied to any land of the railroad, if the word “ railroad ” is equivalent to railroad corporation; and this is the construction contended for by the tenant.
In citing the act at length, we have followed the punctuation contained in the Acts and Resolves. In the Supplement to the General Statutes, prepared by Mr. Richardson and Mr. Sanger, and published by the Commonwealth, commas are inserted after the words “ to ” and “ within,” and an examination of the original act at the State House shows that their punctuation in this respect follows that of the original act.
If, however, we disregard the punctuation, (Cushing v. Worrick, 9 Gray, 382, and Martin v. Gleason, 139 Mass. 183,) the more natural and obvious meaning seems to us to be that the words used apply only to the location.
In the last clause, the words “the land belonging to such railroad ” must refer to the land before mentioned.
In 1874, the general laws relating to railroads were not only consolidated, but revised, as the ..title to the act shows. St. 1874, c. 372. By § 182, the St. of 1861, c. 100, and other acts, were expressly repealed; but by § 183 the repeal did not affect “ any act done, or any right accruing, accrued, or established.” As the demandants’ rights had already accrued, they were not affected by the passage of the act.
The tenant contends that § 107 is to be considered as a legislative interpretation of the St. of 1861, c. 100. This section reads as follows: “ No length of possession or occupancy of land belonging to a railroad corporation, by an owner or occupier of adjoining land shall create any right to such land of the corpo*287ration in such adjoining owner or occupier, or any person claiming under him." See also Pub. Sts. c. 112, § 215. If the St. of 1874 were merely a consolidation of existing acts, there might be some force in the tenant’s argument; but as it was also a revision of the laws, we are of opinion that, as this section of the St. of 1874, is so different from the St. of 1861, it can have no effect in interpreting the St. of 1861.
The judgments rendered in the Superior Court for the demand-ants must be Affirmed.