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