Summary: | FIXED IN SVN: Two successive ops marked as incorrect syntax | ||
---|---|---|---|
Product: | [Applications] rkward | Reporter: | RKWard Team <rkward-devel> |
Component: | general | Assignee: | RKWard Team <rkward-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | All | ||
Latest Commit: | Version Fixed In: |
Description
RKWard Team
2011-12-08 12:12:58 UTC
Hi\! The syntax highlighting will always remain an approximation, not a real R parser. But, of course, false positives are bad. These should all be fixed, now, in r4084, version 2.06 of the "R Script" highlighting. The new version also detects a few more problems, esp. when there are spaces between operators as in "x <- \* 2". There are also some minor regressions, e.g. "->+" is no longer marked as an error. But see above: The highlighting is only an approximation. Regards Thomas - **assigned_to**: nobody --> tfry - **summary**: Two successive operators are considered incorrect syntax --> FIXED IN SVN: Two successive ops marked as incorrect syntax - **status**: open --> open-fixed -- Originally posted by (AT sourceforge.net): nalimilan -- I've spotted what looks like a regression to me: a single \! is marked in red when it appears after <-, even when preceded with a space. The other fixes are great\! Indeed. I did not think of unary \!. This should be fixed in r4121, highlighting version 2.07. Note: This still leaves a wrong markup of ~ in some special cases: f <- ~ a I can't think of a good solution to that, ATM. - **status**: open-fixed --> closed-fixed |