Deleted Added
full compact
db_lex.h (139747) db_lex.h (174914)
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 * $FreeBSD: head/sys/ddb/db_lex.h 139747 2005-01-06 01:34:41Z imp $
26 * $FreeBSD: head/sys/ddb/db_lex.h 174914 2007-12-26 09:33:19Z rwatson $
27 */
28
29#ifndef _DDB_DB_LEX_H_
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 */
27 */
28
29#ifndef _DDB_DB_LEX_H_
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 */
39void db_flush_lex(void);
40int db_read_line(void);
41int db_read_token(void);
42void db_unread_token(int t);
39void db_flush_lex(void);
40char *db_get_line(void);
41void db_inject_line(const char *command);
42int db_read_line(void);
43int db_read_token(void);
44void db_unread_token(int t);
43
44extern db_expr_t db_tok_number;
45#define TOK_STRING_SIZE 120
46extern char db_tok_string[TOK_STRING_SIZE];
47
48#define tEOF (-1)
49#define tEOL 1
50#define tNUMBER 2

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

61#define tHASH 13
62#define tCOMMA 14
63#define tDITTO 15
64#define tDOLLAR 16
65#define tEXCL 17
66#define tSHIFT_L 18
67#define tSHIFT_R 19
68#define tDOTDOT 20
45
46extern db_expr_t db_tok_number;
47#define TOK_STRING_SIZE 120
48extern char db_tok_string[TOK_STRING_SIZE];
49
50#define tEOF (-1)
51#define tEOL 1
52#define tNUMBER 2

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

63#define tHASH 13
64#define tCOMMA 14
65#define tDITTO 15
66#define tDOLLAR 16
67#define tEXCL 17
68#define tSHIFT_L 18
69#define tSHIFT_R 19
70#define tDOTDOT 20
71#define tSEMI 21
69
70#endif /* !_DDB_DB_LEX_H_ */
72
73#endif /* !_DDB_DB_LEX_H_ */