1*92a65355SyangbillCopyright (C) 2011, 2016 Arthur Reutenauer 2*92a65355Syangbill 3*92a65355SyangbillThis file is available under the terms of the MIT licence. 4*92a65355SyangbillPermission is hereby granted, free of charge, to any person obtaining a copy 5*92a65355Syangbillof this software and associated documentation files (the “Software”), to deal 6*92a65355Syangbillin the Software without restriction, including without limitation the rights to 7*92a65355Syangbilluse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies 8*92a65355Syangbillof the Software, and to permit persons to whom the Software is furnished to do 9*92a65355Syangbillso, subject to the following conditions: 10*92a65355Syangbill 11*92a65355SyangbillThe above copyright notice and this permission notice shall be included in all 12*92a65355Syangbillcopies or substantial portions of the Software. 13*92a65355Syangbill 14*92a65355SyangbillTHE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15*92a65355SyangbillIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16*92a65355SyangbillFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 17*92a65355SyangbillAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18*92a65355SyangbillLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 19*92a65355SyangbillOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 20