https://bugs.kde.org/show_bug.cgi?id=397801

            Bug ID: 397801
           Summary: File modula-2.xml does not actually represent Modula-2
           Product: kate
           Version: unspecified
          Platform: unspecified
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: syntax
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: trijez...@gmail.com
  Target Milestone: ---

The modula-2.xml file available at:
https://kate-editor.org/syntax/update-5.36.xml does not actually represent
Modula-2.

Whoever made this xml file must have copied it from some other language and
then modified it but without knowing Modula-2. The file does not represent any
dialect of Modula-2.

Anyway, I have made a replacement xml file for the classic Modula-2 dialect as
defined in Niklaus Wirth's "Programming in Modula-2", 4th edition (most recent)
published by Springer, Heidelberg.

I have also made a test source file and tested this.

It can be downloaded from my Github repo at:

https://github.com/trijezdci/M2-Syntax-Colour/tree/master/Kate

Known Limitation: Modula-2 permits nesting of comments, but it is not clear to
me how to do this with Kate's syntax highlighting specification model.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to