You can re-import the script from the YYMPS - it should have a bracket there
live_enum_add("flexpanel_position_type",{static:flexpanel_position_type.static,relative:flexpanel_position_type.relative,absolute:flexpanel_position_type.absolute})
I have no immediate explanation as to who could be stealing curly brackets from your file, but maybe it’ll stop if you make that a "static": instead of static:..?