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...
FIXED: V16.68 - syntax-hiliting bug (Makefile)
- DerellLicht1
- Posts: 246
- Joined: 23 Jul 2021 17:38
- Location: Fremont, CA, USA
FIXED: V16.68 - syntax-hiliting bug (Makefile)
- Attachments
-
- Makefile.zip
- (2.74 KiB) Downloaded 54 times
Last edited by DerellLicht1 on 09 Nov 2026 20:51, edited 1 time in total.
- Rickard Johansson
- Site Admin
- Posts: 7019
- Joined: 19 Jul 2006 14:29
Re: V16.68 - syntax-hiliting bug (Makefile)
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
...
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
...
- DerellLicht1
- Posts: 246
- Joined: 23 Jul 2021 17:38
- Location: Fremont, CA, USA
Re: FIXED? V16.68 - syntax-hiliting bug (Makefile)
Cool, thanks!! Worked beautifully...
