Another VelocityValue patch against 1.2

This fixes a minor bug, but it also does a pretty dramatic change.

With this patch, Velocity now parses and create Doubles.

It supports the simple floating point numbers.

1 <- Integer - 1
1. <- Double - 1.0
1.2 <- Double - 1.2

It does not support numbers in scientific notation, like 1.0E+30.

This change required a minor change to the grammar, but the build
instructions were sufficient and I don't believe anything truly horrible
broke with the simple change.

It supports all of the Math and comparisons appropriately. This patch also
fixed a bug with division. The original Division code was Adding...oops.

I've compressed this patch because it's getting larger. 80K uncompressed.

Share and Enjoy!

Will Hartung
([EMAIL PROTECTED])

Attachment: patch.out.gz
Description: GNU Zip compressed data

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to