[system] Repository:
ViewVC logotype

Revision 3591


Jump to revision: Previous Next
Author: dpvc
Date: Tue Aug 30 12:21:36 2005 UTC (14 years, 2 months ago)
Log Message:
The perl method for UOP and BOP now put spaces around the operator, to
prevent Perl from thinking that things like -e is a file test and
*Parser::Function->call is a name reference.  (Some of these had been
done by hand earlier, but now the base BOP and UOP classes handle it,
so we should not have problems in the future).  I removed the ad hoc
fixes from several other locations (Parser/Function.pm,
Parser/Context/Default.pm).

Also extended the operator definitions to allow operators to create
function-call syntax in perl mode (for when the operator doesn't
correspond to a perl operator).

Changed paths:

Path Details
Directorytrunk/pg/lib/Parser/BOP.pm modified , text changed
Directorytrunk/pg/lib/Parser/Context/Default.pm modified , text changed
Directorytrunk/pg/lib/Parser/Function.pm modified , text changed
Directorytrunk/pg/lib/Parser/UOP/factorial.pm modified , text changed
Directorytrunk/pg/lib/Parser/UOP.pm modified , text changed

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9