Re: [NASL2] Auto-conversion with + and -
Michel Arboi <[email protected]>
| Newsgroups | gmane.comp.security.nessus.devel |
|---|---|
| Organization | Compilo ergo sum |
| Message-ID | <[email protected]> |
"Jim Cervantes" <[email protected]> writes: > I would recommend disambiguating the meaning of your operators. Use '+' to > mean addition and something else to mean string concatenation. Then a > simpler and more natural set of rules can be constructed. Got two of them, at least :-( [11214](nntp_info.nasl) Horrible type conversion (int -> str) for operator + at or near line 190 [12055](ntalk_detect.nasl) Horrible type conversion (int -> str) for operator + at or near line 166