Skip to content

Instantly share code, notes, and snippets.

@Gasol
Created May 26, 2011 16:24
Show Gist options
  • Save Gasol/993468 to your computer and use it in GitHub Desktop.
Save Gasol/993468 to your computer and use it in GitHub Desktop.
patch for phpdoc vim helptags parser
--- a/parser2.php 2011-05-27 00:07:45.515535000 +0800
+++ b/parser2.php 2011-05-26 16:37:01.081761000 +0800
@@ -344,14 +344,16 @@
//fwrite($fp, "!_TAG_FILE_SORTED 1\n");
fclose($fp);
-load_entities('phpdoc/entities/global.ent');
+load_entities('phpdoc/doc-base/entities/global.ent');
+load_entities('phpdoc/doc-base/entities/version.ent');
+load_entities('phpdoc/doc-base/entities/file-entities.ent');
load_entities('phpdoc/en/language-defs.ent');
load_entities('phpdoc/en/language-snippets.ent');
-load_entities('phpdoc/en/livedocs.ent');
+load_entities('phpdoc/en/extensions.ent');
load_entities('phpdoc/en/contributors.ent');
//print_r($entities['&example.outputs;']);
//print_r($entities);
-process_all('phpdoc\en\reference');
+process_all('phpdoc/en/reference');
//process_all('d:/htdocs/livedocs/phpdoc/en/reference');
echo "sorting tags\n";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment