Created attachment 59034 [details]
Version: unspecified (using KDE 4.6.0)
RPM spec syntax highlighting: error with multi line macros
Steps to Reproduce:
When defining multi line macros and the following line is empty, then the next but one line is treated also as macro - but that is wrong.
%define my_multi_line_macro content1\
The text "Release: 1" is highlighted as macro content.
It should be highlighted as tag.
I've attached a patch. This patch
- fixes the issue that is described here
- fixes bug 249318
- fixes syntax highlighting in the %package section for lines that start with a macro (was formaly highlighted as an error, but should show just normal highlighting)
The patch is against rpmspec.xml that comes with KDE 4.6.0. I've checked the new rpmspec.xml against language.dtd and it is okay.
Created attachment 59035 [details]
Created attachment 59037 [details]
*** Bug 249318 has been marked as a duplicate of this bug. ***
Git commit 95430b571b446c1673374f25a8ff9e3d17e9e312 by Dominik Haumann.
Committed on 16/04/2011 at 13:26.
Pushed by dhaumann into branch 'master'.
RPM spec update by Tim Fechtner
M +15 -33 part/syntax/data/rpmspec.xml
Thanks for fast apply :-)