1<?php 2// (c) Copyright by authors of the Tiki Wiki CMS Groupware Project 3// 4// All Rights Reserved. See copyright.txt for details and a complete list of authors. 5// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details. 6// $Id$ 7 8//include ("common.inc"); 9 10include("htmlgrammarparser.inc"); 11$p = new HtmlGrammarParser("htmlgrammar.dat"); 12$p->Parse(); 13$p->PrintErrors(); 14$p->SaveGrammar("htmlgrammar.cmp"); 15print "Done."; 16//PrintArray($p->pg); 17