Commit Graph

7 Commits (2ea357ea7b62915401d8215b022c8a224627b160)

Author SHA1 Message Date
Andrew Krasichkov cea880bc40 Try to autodetect encoding for bynary string while parsing.
Deal with UTF-8 BOM
2017-05-14 16:05:17 +03:00
Andrew Krasichkov c5df3f073e Improved regex for "if" directive condition capturing 2017-05-14 14:41:21 +03:00
Andrew Krasichkov 7d8fb8845f Allowed more characters for map/upstream/etc directives 2017-05-14 14:36:53 +03:00
Andrew Krasichkov 3c1437c816 Changed file reading logic. Parsers and auditor don't read files by itself, instead of this expect file descriptor or file content. 2017-05-13 14:56:53 +03:00
Andrew Krasichkov 26b2ead72c Added new test cases for "if" directive parsing 2017-05-13 13:52:17 +03:00
Andrew Krasichkov 5dfcd5e68b Added tests for comment parsing 2017-05-02 12:05:32 +03:00
Andrew Krasichkov 2ff6ac1f8b Initial commit 2017-03-31 01:12:44 +03:00