Reindent language flags code