It looks like you're new here. If you want to get involved, click one of these buttons!
Often this error is because of a missing closing bracket} at the end of the code. Without being able to see your style it's hard to know for sure though. A link to the complete style code would be helpful.
Without knowing where you added the code in the style you are modifying I can't give you a definitive answer. You may just need to remove the last closing bracket, but that's just a guess. If you can post your entire modified code to Pastebin or another site and link it, someone here can give you a quick answer.
The highlighted part on your code needs a second closing bracket, as shown in the pic:
Looks like still some trouble with the brackets.
Try this https://pastebin.com/R1CjGML7