FIXED: V16.68 - syntax-hiliting bug (Makefile)

Report issues, odd behaviors or submit a detailed bug report.
Post Reply
User avatar
DerellLicht1
Posts: 246
Joined: 23 Jul 2021 17:38
Location: Fremont, CA, USA

FIXED: V16.68 - syntax-hiliting bug (Makefile)

Post by DerellLicht1 »

I loaded up another Makefile yesterday, and found another example of RJTE dropping syntax hiliting...
Both are related to the `help:` target...
- the first line in that block rendered in default color, then all other lines in the block rendered normally
- once the help block ended, everything else (almost) was rendered in default color, to end of file...

I'm including a copy of the makefile (zipped), as well as an image of the faulted region...
rjte.Makefile.lost.syntax.jpg
rjte.Makefile.lost.syntax.jpg (136.96 KiB) Viewed 858 times
Attachments
Makefile.zip
(2.74 KiB) Downloaded 54 times
Last edited by DerellLicht1 on 09 Nov 2026 20:51, edited 1 time in total.
User avatar
Rickard Johansson
Site Admin
Posts: 7019
Joined: 19 Jul 2006 14:29

Re: V16.68 - syntax-hiliting bug (Makefile)

Post by Rickard Johansson »

A small change in the syntax file seems to fix this issue.

Change the block option 1_End= in makefile.syx:

[Block]
1_Name=#At
1_OnLine=1
1_AsString=1
1_Start=[@]+[A-Za-z-_]
1_End=\b <= change this
...
User avatar
DerellLicht1
Posts: 246
Joined: 23 Jul 2021 17:38
Location: Fremont, CA, USA

Re: FIXED? V16.68 - syntax-hiliting bug (Makefile)

Post by DerellLicht1 »

Cool, thanks!! Worked beautifully...
Post Reply