mirror of
https://github.com/zyedidia/micro.git
synced 2024-09-11 04:05:38 +03:00
add restrict
to C syntax (#2728)
This commit is contained in:
parent
a929437490
commit
b0cd92b70f
@ -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 New Issue
Block a user