Status: Started
Owner: pekka.klarck
Labels: Type-Defect Priority-Low Target-2.7.6

New issue 1308 by pekka.klarck: Parsing modules do not preserve comments after FOR loop declaration
http://code.google.com/p/robotframework/issues/detail?id=1308

For example, the first comment in the example below is lost. Comments used inside for loops are preserved.

*** Test Cases ***
Example
    :FOR    ${i}    IN    a    b    # This is lost
    \    # This is preserved
    \    Log    ${i}    # This is preserved


This affects tidy and also RIDE, where handling comments in FOR loops was broken also otherwise:
http://code.google.com/p/robotframework-ride/issues/detail?id=1159

Reply via email to