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

Diff of /trunk/pg/macros/Parser.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 2576 Revision 2602
1########################################################################### 1###########################################################################
2## 2##
3## Set up the functions needed by the Parser. 3## Set up the functions needed by the Parser.
4## 4##
5 5
6if (!defined(%Value::Type)) { 6if (!$Parser::installed) {
7 die "\n************************************************************\n" . 7 die "\n************************************************************\n" .
8 "* This problem requires the Parser.pm package, which doesn't\n". 8 "* This problem requires the Parser.pm package, which doesn't\n".
9 "* seem to be installed. Please contact your WeBWorK system\n".
10 "* administrator and ask him or her to install it first.\n".
11 "************************************************************\n\n"
12}
13if (!$Value::installed) {
14 die "\n************************************************************\n" .
15 "* This problem requires the Value.pm package, which doesn't\n".
9 "* seem to be installed. Please contact your WeBWorK system\n". 16 "* seem to be installed. Please contact your WeBWorK system\n".
10 "* administrator and ask him or her to install it first.\n". 17 "* administrator and ask him or her to install it first.\n".
11 "************************************************************\n\n" 18 "************************************************************\n\n"
12} 19}
13 20
142#sub j () {Compute('j')} 149#sub j () {Compute('j')}
143#sub k () {Compute('k')} 150#sub k () {Compute('k')}
144 151
145########################################################################### 152###########################################################################
146 153
154$_parser_loaded = 1; # use this to tell if Parser.pl is loaded
155
156###########################################################################
157
1471; 1581;

Legend:
Removed from v.2576  
changed lines
  Added in v.2602

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9