speedcrunch / SpeedCrunch

A fast, high-precision and powerful cross-platform desktop calculator.
http://speedcrunch.org
269 stars 37 forks source link

Parser problem - again #69

Open heldercorreia opened 9 years ago

heldercorreia commented 9 years ago

Originally reported on Google Code with ID 7

What steps will reproduce the problem?
1. Enter the function "exp((1)/2) + exp((1)/2)" 
2. Evaluate
3. The message "Error: Function exp accepts 1 argument" is returned.

What is the expected output? What do you see instead?

An actual result.

The problem lays in the parser and how functions are compiled. Allowing an
infinite number of lparens first in a function call could solve this - but
a better solution would be to make the function finding rule more generic.

Reported by e8johan on 2006-08-29 12:44:52

heldercorreia commented 9 years ago
Fixed in trunk. So please test again.

Reported by ariya.hidayat on 2006-10-08 10:23:28

heldercorreia commented 9 years ago

Reported by ariya.hidayat on 2006-10-12 09:28:11

heldercorreia commented 9 years ago

Reported by helder.pereira.correia on 2007-05-15 13:30:10