parent
103e0d883c
commit
170c8257b2
|
@ -358,9 +358,12 @@ C99_KEYWORDS = {
|
||||||
|
|
||||||
|
|
||||||
def isKeyword(keyword, standard='c99'):
|
def isKeyword(keyword, standard='c99'):
|
||||||
if standard == 'c99':
|
kw_set = {}
|
||||||
return C99_KEYWORDS
|
if standard == 'c89':
|
||||||
return keyword in C90_KEYWORDS
|
kw_set = C90_KEYWORDS
|
||||||
|
elif standard == 'c99':
|
||||||
|
kw_set = C99_KEYWORDS
|
||||||
|
return keyword in kw_set
|
||||||
|
|
||||||
|
|
||||||
def getEssentialTypeCategory(expr):
|
def getEssentialTypeCategory(expr):
|
||||||
|
|
Loading…
Reference in New Issue