style: Fix broken m5format command
authorAndreas Sandberg <Andreas.Sandberg@ARM.com>
Wed, 11 Feb 2015 15:23:34 +0000 (10:23 -0500)
committerAndreas Sandberg <Andreas.Sandberg@ARM.com>
Wed, 11 Feb 2015 15:23:34 +0000 (10:23 -0500)
commit5a573762d0b27eb26a572581611df2196656641f
tree559f821fe378a8e554aa45f47f936172ba533061
parent267443fa2231841d9e2f9253942a5a1c18cd8c55
style: Fix broken m5format command

The m5format command didn't actually work due to parameter handling
issues and missing language detection. This changeset fixes those
issues and cleans up some of the code to shared between the style
checker and the format checker.
util/style.py