Update lib/ace/mode/php_highlight_rules.js

support php short tags <?
This commit is contained in:
Adam Jimenez 2012-10-05 09:31:02 +02:00
commit a541f897a0

View file

@ -1045,7 +1045,7 @@ var PhpHighlightRules = function() {
for (var i in this.$rules) {
this.$rules[i].unshift({
token : "support.php_tag", // php open tag
regex : "<\\?(?:php|\\=)",
regex : "<\\?(?:php|\\=)?",
next : "php-start"
});
}