Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-219

Make parser more whitespace agnostic to allow clearer policy writing.

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Parsing
    • Labels:
      None

      Description

      Please allow more whitespace for clearer policies. For example:

      class1 . class2 | ( class3 .! class4 ) ::

      The above should be a valid class statement. All whitespace should be ignored. Variables should also allow this. For example:

      ${ array [ ${i} ] [ 0 ] } should be allowed rather than the more cramped ${array[${i}][0]}. This should also be allowed in naked variables found in usebundle.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                neilhwatson Neil Watson
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Summary Panel