Bug 90553
Summary: | Default value must be numeric? | ||
---|---|---|---|
Product: | [Retired] eCos | Reporter: | Gary Thomas <gary> |
Component: | CDL | Assignee: | Bart Veer <bartv> |
Status: | CLOSED NOTABUG | QA Contact: | Bart Veer <bartv> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | CVS | CC: | jifl-bugzilla |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2003-05-09 18:06:58 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Gary Thomas
2003-05-09 15:56:19 UTC
Exactly what failure is seen? If you use default_value "860P" then the parser will get confused. The quotes are removed by the Tcl interpreter so libcdl sees 860P, tries to parse it as a number, and fails. You should get a parse error about an invalid character after the number 860. If you use default_value { "860P" } then everything seems to work. The libcdl parser will still see the quotes so it will treat the contents as a string rather than a number. The error I get does indicate a parsing problem. /work/develop/ecos/packages/hal/powerpc/mpc8xx/current/cdl/hal_powerpc_mpc8xxx.cdl, component CYGHWR_HAL_POWERPC_MPC8XX, property default_value: error Invalid character detected after number 860 ^4^ {860P...} Package CYGPKG_HAL_POWERPC_MPC8xx, 1 error occurred while reading in the CDL data. Using { "860P" } does seem sufficient, I'll just do that and be happy. |