Hi Doug,

I don't understand the '\@8' patterns but your suggested patches below seem
to work on almost all testcases with the recent testcase file
http://algol68.gridbug.de/all_preludes_w_sp_X.txt
A single remaining non-functional entry concerns the item 'system stack size'.

Will you check-in your suggested changes?

Thanks!

Regards,
Janis

________________________________________
Von: [email protected] <[email protected]> im Auftrag von Doug 
Kearns <[email protected]>
Gesendet: Freitag, 17. April 2026 15:12
An: [email protected]
Betreff: Re: [vim/vim] runtime(algol68): Add new syntax file and filetype 
detection (PR #19818)
[...]
I think the following would fix it but I may be overlooking some
contexts.  Note this won't work with the current test file because of
the column layout.

181c181
<   syn match algol68Function
"\<\%(\%(\%(long\s*\)\?long\s*\)\|[qd]\)\?\%(sqrt\|cbrt\|curt\|exp\|ln\|log\)\>"
---
>   syn match algol68Function 
> "\%([a-z0-9]\s\+\)\@8<!\<\%(\%(\%(long\s*\)\?long\s*\)\|[qd]\)\?\%(sqrt\|cbrt\|curt\|exp\|ln\|log\)\>\%(\s\+[a-z0-9]\)\@!"
228c228
<   syn match algol68Function "\<\%(bits\|whole\|fixed\|float\|real\)\>"
---
>   syn match algol68Function 
> "\%([a-z0-9]\s\+\)\@8<!\<\%(bits\|whole\|fixed\|float\|real\)\>\%(\s\+[a-z0-9]\)\@!"

<snip>

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/DU0PR02MB1042241C95D9FF8E09EF5DB74F32C2%40DU0PR02MB10422.eurprd02.prod.outlook.com.

Raspunde prin e-mail lui