 /* Grammar brush contributed by David Simmons-Duffin */
SyntaxHighlighter.brushes.Grammar = function()
{
    
    // ok, so the the css name has no meaning here -- it's just for the color
    this.regexList = [
        { regex: new RegExp('::=', 'g'), css: 'comments'     },
	{ regex: new RegExp('&lt;\\w+>', 'g'), css: 'variable'   },
	{ regex: new RegExp('^\\w+', 'gm'),    css: 'keyword'   },
	{ regex: new RegExp('\\|', 'gm'),    css: 'comments'   }
    ];

    this.forHtmlScript(SyntaxHighlighter.regexLib.phpScriptTags);
}

SyntaxHighlighter.brushes.Grammar.prototype  = new SyntaxHighlighter.Highlighter();
SyntaxHighlighter.brushes.Grammar.aliases  = ['grammar'];
