parser-lbl-comment.awl 269 B

1234567891011121314
  1. ORGANIZATION_BLOCK OB 1
  2. VAR_TEMP
  3. TESTVAR : BOOL;
  4. END_VAR
  5. BEGIN
  6. // Parser regression test:
  7. // Comment on assignment statement with local variable and label.
  8. SET
  9. lbl: = #TESTVAR // This comment is ok
  10. CALL SFC 46 // STOP CPU
  11. END_ORGANIZATION_BLOCK