mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-20 01:11:18 +00:00
make "local" optional
This commit is contained in:
parent
cfd71b87c4
commit
e8e2d3a6e5
2 changed files with 3 additions and 2 deletions
|
@ -205,7 +205,7 @@ storage_class_t current_storage = st_global;
|
|||
|
||||
%}
|
||||
|
||||
%expect 5
|
||||
%expect 11
|
||||
|
||||
%%
|
||||
|
||||
|
@ -305,6 +305,7 @@ storage_class
|
|||
|
||||
local_storage_class
|
||||
: LOCAL { current_storage = st_local; }
|
||||
| { current_storage = st_local; }
|
||||
| STATIC { current_storage = st_static; }
|
||||
;
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@ typedef struct bot_data_t bot_data_t;
|
|||
-(void)fix
|
||||
{
|
||||
//local integer i = 2, tmp;
|
||||
local unsigned u;
|
||||
unsigned u;
|
||||
//tmp = (integer)links[i];
|
||||
for (u = 0; u < count; u++)
|
||||
[list[u] fix];
|
||||
|
|
Loading…
Reference in a new issue