Revert "cgen: handle variables called "array""

This reverts commit cc714ca5cc.
pull/6300/head
Alexander Medvednikov 2020-09-03 02:43:21 +02:00
parent b8617ace53
commit 333f355e23
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ import v.depgraph
// NB: keywords after 'new' are reserved in C++ // NB: keywords after 'new' are reserved in C++
const ( const (
c_reserved = ['array', 'delete', 'exit', 'link', 'unix', 'error', 'calloc', 'malloc', 'free', 'panic', c_reserved = ['delete', 'exit', 'link', 'unix', 'error', 'calloc', 'malloc', 'free', 'panic',
'auto', 'char', 'default', 'do', 'double', 'extern', 'float', 'inline', 'int', 'long', 'register', 'auto', 'char', 'default', 'do', 'double', 'extern', 'float', 'inline', 'int', 'long', 'register',
'restrict', 'short', 'signed', 'sizeof', 'static', 'switch', 'typedef', 'union', 'unsigned', 'void', 'restrict', 'short', 'signed', 'sizeof', 'static', 'switch', 'typedef', 'union', 'unsigned', 'void',
'volatile', 'while', 'new', 'namespace', 'class', 'typename', 'export'] 'volatile', 'while', 'new', 'namespace', 'class', 'typename', 'export']