Hi, 
I am looking into .vim/syntax/c.vim and  especially on cNumbers match rules.
 This c syntax rules states that 
cNumbers   matches  only the first single digit of integer number (\>\d),
while it "contains" cNumber  which can contain multiple digits ( /\d\+/ ).

What is the purpose of 'cNumbers' rule here??

Thanks in advance.
----------------------------------------------------------------------------

 "integer number, or floating point number without a dot and with "f".
  syn case ignore
  syn match       cNumbers        display transparent "\<\d\|\.\d" 
contains=cNumber,cFloat,cOctalError,cOctal
  " Same, but without octal error (for comments)
  syn match       cNumbersCom     display contained transparent "\<\d\|\.\d" 
contains=cNumber,cFloat,cOctal
  syn match       cNumber         display contained 
"\d\+\(u\=l\{0,2}\|ll\=u\)\>"

-- 
-- 
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to