From f162e6174880c5c5b8a18f3290dac02f9349d539 Mon Sep 17 00:00:00 2001 From: Maciej Obarski Date: Sat, 12 Sep 2020 13:10:27 +0200 Subject: [PATCH] doc: reserved keywords update based on token.v (#6050) --- doc/docs.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/doc/docs.md b/doc/docs.md index fd5b288e60..d93aeb7c6d 100644 --- a/doc/docs.md +++ b/doc/docs.md @@ -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).