Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • scripts
  • kernel-doc
Find file BlameHistoryPermalink
  • Mauro Carvalho Chehab's avatar
    kernel-doc: better handle '::' sequences · 8d295fba
    Mauro Carvalho Chehab authored Mar 25, 2021
    
    
    Right now, if one of the following headers end with a '::', the
    kernel-doc script will do the wrong thing:
    
    	description|context|returns?|notes?|examples?
    
    The real issue is with examples, as people could try to write
    something like:
    
    	example::
    
    		/* Some C code */
    
    and this won't be properly evaluated. So, improve the regex
    to not catch '\w+::' regex for the above identifiers.
    
    Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
    Link: https://lore.kernel.org/r/2cf44cf1fa42588632735d4fbc8e84304bdc235f.1616696051.git.mchehab+huawei@kernel.org
    
    
    Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
    8d295fba
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7