Skip to content

Commit 2740b19

Browse files
committed
Ensure 'typeof' is marked as a reserved keyword
1 parent 8226072 commit 2740b19

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/bpp_include/bpp.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,8 @@ inline constexpr const char* protected_keywords[] = {
109109
"class", "constructor", "delete", "destructor",
110110
"dynamic_cast", "include", "include_once", "method",
111111
"new", "nullptr", "primitive", "private",
112-
"protected", "public", "super", "this", "virtual"
112+
"protected", "public", "super", "this",
113+
"typeof", "virtual"
113114
};
114115

115116
/**

0 commit comments

Comments
 (0)