version 1.1, 2006/04/26 16:33:38 |
version 1.2, 2007/09/24 19:56:34 |
|
|
includes global symbols for the current translation unit, as well as |
includes global symbols for the current translation unit, as well as |
locals (inside a function definition). When it parses a function |
locals (inside a function definition). When it parses a function |
definition, it pushes a symbol table context onto the stack, and |
definition, it pushes a symbol table context onto the stack, and |
then pops it off when it when the function definition ends. |
then pops it off when the function definition ends. |
|
|
lint1 does the vast majority of its checks one expression at a time. |
lint1 does the vast majority of its checks one expression at a time. |
It uses the symbol table (which contains types of symbols) and almost |
It uses the symbol table (which contains types of symbols) and almost |