View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000390 | LDMud 3.3 | LPC Language | public | 2005-06-02 01:12 | 2005-11-24 14:32 |
| Reporter | fippo | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | no change required | ||
| Product Version | 3.3 | ||||
| Fixed in Version | 3.3 | ||||
| Summary | 0000390: wrong return values from typeof | ||||
| Description | typeof does not return values according to sys/lpctypes.h (exec.h) but uses the constants from svalue.h instead. Some values for x -> typeof(x) "foo" -> 3 5 -> 2 5.5 -> 7 Workaround is to simply change sys/lpctypes.h, but this information should be automatically generated from driver source code. | ||||
| Tags | No tags attached. | ||||
|
|
Actually, it works as defined, as sys/lpctypes.h has both the compiler TYPE_ and the svalue T_ definitions: typeof("foo") -> T_STRING typeof(5.5) -> T_FLOAT typeof(5) -> T_NUMBER Though, it would be nice if the driver generated these files by itself - I think I have a different bug entry for that already. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2005-06-02 01:12 | fippo | New Issue | |
| 2005-06-19 20:42 |
|
Status | new => resolved |
| 2005-06-19 20:42 |
|
Fixed in Version | => 3.3 |
| 2005-06-19 20:42 |
|
Resolution | open => no change required |
| 2005-06-19 20:42 |
|
Assigned To | => lars |
| 2005-06-19 20:42 |
|
Note Added: 0000374 | |
| 2005-11-24 14:32 |
|
Status | resolved => closed |