doc: reserved keywords update based on token.v (#6050)

pull/6356/head
Maciej Obarski 2020-09-12 13:10:27 +02:00 committed by GitHub
parent 37311883c1
commit f162e61748
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 1 deletions

View File

@ -2598,16 +2598,19 @@ fn C.DefWindowProc(hwnd int, msg int, lparam int, wparam int)
## Appendix I: Keywords
V has 29 keywords (3 are literals):
V has 41 reserved keywords (3 are literals):
```v
as
asm
assert
atomic
break
const
continue
defer
else
embed
enum
false
fn
@ -2619,6 +2622,7 @@ import
in
interface
is
lock
match
module
mut
@ -2626,9 +2630,16 @@ none
or
pub
return
rlock
select
shared
sizeof
static
struct
true
type
typeof
union
unsafe
```
See also [Types](#types).