Commit Graph

19 Commits (68a1458efc6cd3ec6dc76d947a2beefe1ac3c3d5)

Author SHA1 Message Date
Vitaliy Filippov 04e7de97e0 Some fixes for PHP version
* Allow strftime() without second argument
* Fix method calls (error in grammar)
* Introduce a self::noop() hack to support method calls and key fetches on expressions
2014-12-10 02:38:00 +03:00
Vitaliy Filippov 6e4713ac83 Update compiled template.parser.php 2014-12-04 21:16:18 +03:00
vitalif e99b47dd4a Allow nested method/varref calls 2014-12-04 17:25:04 +03:00
vitalif 85635f9430 Fix LALR error reporting so <!-- x[0] = x[2] --> no more produces incorrect output (2) 2014-12-04 17:25:03 +03:00
vitalif bf6d4a8bd3 Add incorrect case 2014-12-04 17:25:03 +03:00
vitalif 6232f8b902 Retain real value for keywords 2014-12-04 17:25:03 +03:00
vitalif ce333f5ded Allow keywords after dot 2014-12-04 17:25:03 +03:00
vitalif 4898b9598a Fix functions check 2014-12-04 17:25:03 +03:00
vitalif 92dab3ce32 Do not crash in case of template parse error 2014-12-04 17:25:03 +03:00
vitalif 6e5062cfd1 Fix empty chunks 2014-12-04 17:25:03 +03:00
vitalif 6e71eb1321 Better strip_tags 2014-12-04 17:25:03 +03:00
vitalif 67823406f1 Better function safeness decision 2014-12-04 17:25:03 +03:00
vitalif 2b5fbd28bd Additional quoting functions 2014-12-04 17:25:03 +03:00
vitalif b2be380fae Auto escape "HTML safe" mode 2014-12-04 17:25:03 +03:00
vitalif f216a5920a Fix eat 2014-12-04 17:25:03 +03:00
vitalif 49681a9089 Correct eat_code_line 2014-12-04 17:25:03 +03:00
vitalif 073e1d606c Allow to configure directive and substitution begin/end 2014-12-04 17:25:03 +03:00
vitalif 684122d2ef Skip to directive beginning also if just exited 2014-12-04 17:25:03 +03:00
vitalif 2c1587c7de Split VMXTemplate into runtime and compiler parts 2014-12-04 17:25:03 +03:00