D6087: Haskell: Add all language pragmas as keywords.

Dominik Haumann noreply at phabricator.kde.org
Sat Jun 17 14:44:06 UTC 2017


dhaumann added a comment.


  @arrowdodger Isn't there a line missing:
  
  +    <context attribute="Pragma" lineEndContext="#pop" name="pragma">
  +      <keyword attribute="Pragma" context="#stay" String="language_pragmas" />
  +      <StringDetect attribute="Pragma" context="#pop" String="#-}"/>   <------------------ This line ?
  +    </context>
  
  Also, is the lineEndContext #pop or should it rather be #stay?
  
  Please clarify/confirm.
  
  Also: could you provide us with a small demo code so that we can extend our unit test?

REPOSITORY
  R216 Syntax Highlighting

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D6087

To: arrowdodger, #framework_syntax_hightlighting, dhaumann
Cc: dhaumann, #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170617/d1025721/attachment.html>


More information about the Kde-frameworks-devel mailing list