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

Have a line of policy and pointer to a position of syntax error in error message

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Done
    • Priority: (None)
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Parsing
    • Labels:
      None

      Description

      Instead of saying "an error here" it would be nice to have a error formatted similar to Clang:

      <pre>
      romise_repaired =>

      { "$(x)_repaired" }

      ;
      ^ error
      error: .....
      </pre>

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jiraadmin Old User (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel