Anonymous | Login | 2022-06-26 05:22 UTC | ![]() |
My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0000237 | OMNeT++ | simulation kernel | public | 2011-01-14 15:02 | 2011-02-22 23:44 | ||||
Reporter | andras | ||||||||
Assigned To | tomi | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | 4.1 | ||||||||
Target Version | Fixed in Version | 4.2b1 | |||||||
Summary | 0000237: Ini files: poor iparsing for iteration values containing comma | ||||||||
Description | If an omnetpp.ini contains the following line: **.packetLength = ${2500, 1500, intuniform(256,512), 64} then intuniform(256,512) is split at the comma, and interpreted as two items. Quoting (backslash, double quote) does not help. There are similar errors with brackets, curly braces, quoted strings containing commas, etc. A better tokenizer is needed: it should count parentheses, brackets, curly braces, quotation marks and apostrophes; it should also honor backslash quoting inside string literals. The IDE's ini file parsing also has this problem. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
![]() |
|
(0000392) andras (administrator) 2011-02-22 23:44 |
The new parser takes nested parens (also brackets, curly braces) and quotes into account. Escaping, where still needed, is done with backslash. See envir/ChangeLog. |
![]() |
|||
Date Modified | Username | Field | Change |
2011-01-14 15:02 | andras | New Issue | |
2011-02-22 23:42 | andras | Assigned To | => tomi |
2011-02-22 23:44 | andras | Note Added: 0000392 | |
2011-02-22 23:44 | andras | Status | new => resolved |
2011-02-22 23:44 | andras | Fixed in Version | => 4.2b1 |
2011-02-22 23:44 | andras | Resolution | open => fixed |
Copyright © 2000 - 2022 MantisBT Team |