File: csize.h

package info (click to toggle)
metrics 1.0-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 452 kB
  • ctags: 342
  • sloc: ansic: 2,101; lex: 747; makefile: 250; yacc: 233; sh: 209
file content (44 lines) | stat: -rw-r--r-- 1,030 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44

#ifndef CSIZEDOTH

#define CSIZEDOTH

/*
 * $Id: csize.h,v 1.14 1995/01/25 08:19:24 lott Exp $
 *
 * csize, a program to measure the size of C source files.
 * Copyright (C) 1994 Christopher Lott <lott@informatik.uni-kl.de>
 * FB Informatik - Bau 57 / Universitaet KL / D--67653 Kaiserslautern / Germany
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation.  See the file COPYING for more details.
 *
 * The scanner and the functions in csize.c communicate via the global
 * variables declared here (types) and defined in the scanner (storage).
 *
 */

#ifndef _
#ifdef __STDC__
#define _(proto) proto
#else
#define _(proto) ()
#endif
#endif

extern long 
     C_newlines,
     C_blank_lines,
     C_lines_w_comments,
     C_pp_directives,
     C_nb_nc_lines,
     C_semicolons;

extern int Echo;
extern int Lex_errors;

extern void init_scanner _((FILE *, char *));
extern int yylex _((void));

#endif