Deleted Added
full compact
db_lex.h (8876) db_lex.h (12472)
1/*
2 * Mach Operating System
3 * Copyright (c) 1991,1990 Carnegie Mellon University
4 * All Rights Reserved.
5 *
6 * Permission to use, copy, modify and distribute this software and its
7 * documentation is hereby granted, provided that both the copyright
8 * notice and this permission notice appear in all copies of the

--- 9 unchanged lines hidden (view full) ---

18 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
19 * School of Computer Science
20 * Carnegie Mellon University
21 * Pittsburgh PA 15213-3890
22 *
23 * any improvements or extensions that they make and grant Carnegie the
24 * rights to redistribute these changes.
25 *
1/*
2 * Mach Operating System
3 * Copyright (c) 1991,1990 Carnegie Mellon University
4 * All Rights Reserved.
5 *
6 * Permission to use, copy, modify and distribute this software and its
7 * documentation is hereby granted, provided that both the copyright
8 * notice and this permission notice appear in all copies of the

--- 9 unchanged lines hidden (view full) ---

18 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
19 * School of Computer Science
20 * Carnegie Mellon University
21 * Pittsburgh PA 15213-3890
22 *
23 * any improvements or extensions that they make and grant Carnegie the
24 * rights to redistribute these changes.
25 *
26 * $Id: db_lex.h,v 1.4 1994/08/18 22:34:24 wollman Exp $
26 * $Id: db_lex.h,v 1.5 1995/05/30 07:57:01 rgrimes Exp $
27 */
28
29#ifndef _DDB_DB_LEX_H_
27 */
28
29#ifndef _DDB_DB_LEX_H_
30#define _DDB_DB_LEX_H_ 1
30#define _DDB_DB_LEX_H_
31
32/*
33 * Author: David B. Golub, Carnegie Mellon University
34 * Date: 7/90
35 */
36/*
37 * Lexical analyzer.
38 */
31
32/*
33 * Author: David B. Golub, Carnegie Mellon University
34 * Date: 7/90
35 */
36/*
37 * Lexical analyzer.
38 */
39extern int db_read_line();
40extern void db_flush_line();
41extern int db_read_char();
42extern void db_unread_char(/* char c */);
43extern int db_read_token();
44extern void db_unread_token(/* int t */);
45extern void db_flush_lex();
39void db_flush_lex __P((void));
40void db_flush_line __P((void));
41int db_read_char __P((void));
42int db_read_line __P((void));
43int db_read_token __P((void));
44void db_unread_char __P((int c));
45void db_unread_token __P((int t));
46
47extern int db_tok_number;
48#define TOK_STRING_SIZE 120
49extern char db_tok_string[TOK_STRING_SIZE];
50
51#define tEOF (-1)
52#define tEOL 1
53#define tNUMBER 2

--- 11 unchanged lines hidden (view full) ---

65#define tCOMMA 14
66#define tDITTO 15
67#define tDOLLAR 16
68#define tEXCL 17
69#define tSHIFT_L 18
70#define tSHIFT_R 19
71#define tDOTDOT 20
72
46
47extern int db_tok_number;
48#define TOK_STRING_SIZE 120
49extern char db_tok_string[TOK_STRING_SIZE];
50
51#define tEOF (-1)
52#define tEOL 1
53#define tNUMBER 2

--- 11 unchanged lines hidden (view full) ---

65#define tCOMMA 14
66#define tDITTO 15
67#define tDOLLAR 16
68#define tEXCL 17
69#define tSHIFT_L 18
70#define tSHIFT_R 19
71#define tDOTDOT 20
72
73
74
75
76#endif /* _DDB_DB_LEX_H_ */
73#endif /* !_DDB_DB_LEX_H_ */