## WeBWorK Main Forum

### MathObjects.pl

by Paul Bolton -
Number of replies: 1
I'm getting a report of a syntax error in the file MathObjects.pl. From the error details
Error detected while loading [PG]/macros/MathObjects.pl:
syntax error at line 1 of [PG]/macros/MathObjects.pl, near "; ="
The text of my version of the file is reproduced below.

=pod

# The purpose of this file is to encourage the use of the name MathObjects
# instead of Parser (which is not as intuitive for those who don't know
# the history).

# It may later be used for other purposes as well.

=cut

Dr Paul Bolton
School of Mathematics
University of Manchester
UK

### Re: MathObjects.pl

by Davide Cervone -
Make sure there is a blank line at the top of the MathObject.pl file. Due to the way loadMacros() executes the file, that is required. The current CVS version has this, but some earlier versions didn't.

Davide