diff --git a/bin/loopy b/bin/loopy
index f8de8f55aa8d44fd5fbe94b7099ae8f1a4dfcf40..c9fc8f516b3ccbec9cf8801afc1415a26ab4e664 100644
--- a/bin/loopy
+++ b/bin/loopy
@@ -109,6 +109,8 @@ def main():
                 ".floopy": "fortran",
                 ".f90": "fortran",
                 ".fpp": "fortran",
+                ".f": "fortran",
+                ".f77": "fortran",
                 }.get(ext)
         with open(args.infile, "r") as infile_fd:
             infile_content = infile_fd.read()