@@ -0,0 +1,593 @@
+#!/usr/bin/env python%0D%0A# -*- coding: utf-8 -*-%0D%0A#%0D%0A# iutest_incg_test.py%0D%0A#%0D%0A# Copyright (C) 2016, Takazumi Shirayanagi%0D%0A# This software is released under the new BSD License,%0D%0A# see LICENSE%0D%0A#%0D%0A%0D%0Aimport os%0D%0Aimport sys%0D%0Aimport re%0D%0Aimport codecs%0D%0A%0D%0Adef main():%0D%0A    filepath = sys.argv%5B1%5D%0D%0A    incg = os.path.basename(filepath).upper().replace('.', '_')%0D%0A    f = codecs.open(filepath, 'r', 'utf-8-sig')%0D%0A    text = f.read()%0D%0A    f.close()%0D%0A    r = '%5Cs*#%5Cs*ifndef%5B/%5Cs%5D*INCG_IRIS_%7B0%7D%5CS*%5Cs*'.format(incg)%0D%0A    if not re.search(r, text):%0D%0A        exit(1)%0D%0A%0D%0Aif __name__ == '__main__':%0D%0A    main()%0D%0A

add include guard checker