Open nikhilgupta10 opened 7 years ago
nikhilgupta10 imported these comments from Sourceforge: The user dchassin does not exist anymore. Therefore assigning this to afisher1. "jcfuller": * owner changed from jcfuller to mhauer
milestone set to Version 3.0 RC 1 ,
"jcfuller": * owner changed from mhauer to dchassin
milestone changed from Version 3.0 RC 1 to Version 3.1 RC1 ,
"dchassin":I'll put this into trunk after 3.1 is released.,
"dchassin":- Milestone: Version 3.1 RC1 --> Unscheduled ,
"dchassin":- Milestone: Unscheduled --> Version 4.0 RC1 ,
I like to use expressions as property values, i.e.
\length (2*100)ft;\n
because I can create different simulation scenarios with a text editor's search and replace function.
Unfortunately, doing this gives an error:
\expected ';' at end of property specification
expected object block closing }\
Using an expression without units is no problem, i.e.
\length (2*100);\n
I found the problem in core/load.c in the expression() function: the function interface has a /unit\ parameter, but the value of this parameter is never set. The following patch fixes the problem:
--- core/load.c (revision 3850)
+++ core/load.c (working copy)
@@ -1854,7 +1854,13 @@
,