changeset a1b68c63c754 in /z/repo/m5 details: http://repo.m5sim.org/m5?cmd=changeset;node=a1b68c63c754 description: util: fix the language type function
diffstat: util/file_types.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diffs (12 lines): diff -r cb1e137ac35e -r a1b68c63c754 util/file_types.py --- a/util/file_types.py Tue Apr 12 16:09:20 2011 -0400 +++ b/util/file_types.py Wed Apr 13 09:32:17 2011 -0700 @@ -70,7 +70,7 @@ # now try to detect language based on file prefix for start,lang in lang_prefixes: if basename.startswith(start): - return start + return lang # if a first line was not provided but the file is ok to open, # grab the first line of the file. _______________________________________________ m5-dev mailing list m5-dev@m5sim.org http://m5sim.org/mailman/listinfo/m5-dev