Skip to content

Prevent file modification if formatter runs into an error #34

@Ashwin-Hariharan0

Description

@Ashwin-Hariharan0

When -w argument is used and formatter runs into "token recognition error", the .mo file is incorrectly modified. Could the formatter behavior be changed so that .mo file is overwritten only if there are no errors encountered (and leave modelica files which contain unrecognized tokens untouched)?

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions