[system] / trunk / pg / macros / parserCustomization.pl Repository:
ViewVC logotype

Log of /trunk/pg/macros/parserCustomization.pl

Parent Directory Parent Directory


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 4856 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 7 18:34:55 2007 UTC (12 years, 9 months ago) by gage
File length: 1278 byte(s)
Diff to previous 3588
Added documentation

Revision 3588 - (view) (download) (as text) (annotate) - [select for diffs]
Added Tue Aug 30 00:41:34 2005 UTC (14 years, 3 months ago) by dpvc
File length: 1219 byte(s)
Added a parserCustomization.pl file that is loaded whenever the
Parser.pl file is.  This can be used on a course-by-course basis to
customize features of the Parser.  Some examples are listed in the
file.

You need to be VERY careful when doing this, as this will affect ALL
problems that use the Parser.  Your changes may cause some .pg files
to fail if they rely on the default behavior that you are changing.

If you wish to override settings in one of the predefined contexts
(like "Vector"), then define $context{Vector} as a copy of
$Parser::Context::Default::context{Vector}, as in the commented out
examples.  Then Context("Vector") will use your copy rather than the
original.  If you were to change the version in
Parser::Context::Default, that would change the parser for ALL
courses, not just yours.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9