Extended compiler to fix issues with comments and allowed regexs in static variable declaration