mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-30 12:40:42 +00:00
don't seg when in traditional mode and @ is seen
This commit is contained in:
parent
160a2af756
commit
e63b205fd2
1 changed files with 2 additions and 1 deletions
|
@ -370,7 +370,8 @@ type_or_name (char *token)
|
||||||
}
|
}
|
||||||
keyword = Hash_Find (keyword_tab, token);
|
keyword = Hash_Find (keyword_tab, token);
|
||||||
if (keyword) {
|
if (keyword) {
|
||||||
if (token[0] == '@' && !class_Class.super_class)
|
if (!options.traditional && token[0] == '@'
|
||||||
|
&& !class_Class.super_class)
|
||||||
class_init ();
|
class_init ();
|
||||||
yylval.type = keyword->type;
|
yylval.type = keyword->type;
|
||||||
return keyword->value;
|
return keyword->value;
|
||||||
|
|
Loading…
Reference in a new issue