repo.or.cz
/
smatch.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add symbol scoping for proper parsing.
[smatch.git]
/
scope.h
blob
f564018f3f33ce47b702c3bbe415ce2d1a9e850f
1
#ifndef SCOPE_H
2
#define SCOPE_H
3
4
struct
scope
{
5
struct
token
*
token
;
/* Scope start information */
6
struct
symbol_list
*
symbols
;
/* List of symbols in this scope */
7
struct
scope
*
next
;
8
};
9
10
extern
void
start_symbol_scope
(
void
);
11
extern
void
end_symbol_scope
(
void
);
12
extern
void
bind_scope
(
struct
symbol
*);
13
14
#endif