mirror of
https://github.com/Hopiu/micro.git
synced 2026-03-27 19:30:25 +00:00
add restrict to C syntax (#2728)
This commit is contained in:
parent
a929437490
commit
b0cd92b70f
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ rules:
|
|||
- type: "\\b((s?size)|((u_?)?int(8|16|32|64|ptr)))_t\\b"
|
||||
- type: "\\b[a-z_][0-9a-z_]+(_t|_T)\\b"
|
||||
- type.extended: "\\b(bool)\\b"
|
||||
- statement: "\\b(volatile|register)\\b"
|
||||
- statement: "\\b(volatile|register|restrict)\\b"
|
||||
- statement: "\\b(for|if|while|do|else|case|default|switch)\\b"
|
||||
- statement: "\\b(goto|continue|break|return)\\b"
|
||||
- preproc: "^[[:space:]]*#[[:space:]]*(define|pragma|include|(un|ifn?)def|endif|el(if|se)|if|warning|error)"
|
||||
|
|
|
|||
Loading…
Reference in a new issue