Print this page
new smatch

Split Close
Expand all
Collapse all
          --- old/usr/src/tools/smatch/src/scope.h
          +++ new/usr/src/tools/smatch/src/scope.h
↓ open down ↓ 21 lines elided ↑ open up ↑
  22   22   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  23   23   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  24   24   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  25   25   * THE SOFTWARE.
  26   26   */
  27   27  
  28   28  struct symbol;
  29   29  struct position;
  30   30  
  31   31  struct scope {
  32      -        struct token *token;            /* Scope start information */
       32 +        struct token *token;
  33   33          struct symbol_list *symbols;    /* List of symbols in this scope */
  34   34          struct scope *next;
  35   35  };
  36   36  
  37   37  extern struct scope
  38   38                  *block_scope,
  39   39                  *function_scope,
  40   40                  *file_scope,
  41   41                  *global_scope;
  42   42  
↓ open down ↓ 20 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX