URL: <http://gna.org/bugs/?24546>
Summary: ruleset table syntax Project: Freeciv Submitted by: dunnoob Submitted on: Thu 31 Mar 2016 06:43:07 AM UTC Category: rulesets Severity: 3 - Normal Priority: 5 - Normal Status: None Assigned to: None Originator Email: Open/Closed: Open Release: 2.6 Discussion Lock: Any Operating System: None Planned Release: _______________________________________________________ Details: In a buildings.ruleset for 2.5 I had lots of... obsolete_by = "None" ...lines. For 2.6 I changed these lines to... obsolete_by = { "type", "name", "range" } ; same as 2.5 "None" ...but it didn't work as expected (trimmed error message): Expected end of line file ".../.freeciv/test/dunnoob/buildings.ruleset", line 84, pos 43 looking at: ' } ; same as 2.5 "None"' Apparently the '}' cannot be on the same line as the '{'. A case of https://en.wikipedia.org/wiki/Principle_of_least_astonishment - is it a bug, an undocumented feature, or only me? I'll try to find another solution for "None" in one line, two lines certainly work. :-P _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?24546> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev