xref: /freebsd/usr.sbin/kbdcontrol/lex.h (revision b3e7694832e81d7a904a10f525f8797b753bf0d3)
108bddad1SSøren Schmidt /*-
2*4d846d26SWarner Losh  * SPDX-License-Identifier: BSD-2-Clause
31de7b4b8SPedro F. Giffuni  *
4f76b3199SUlrich Spörlein  * Copyright (c) 1994-1995 Søren Schmidt
508bddad1SSøren Schmidt  * All rights reserved.
608bddad1SSøren Schmidt  *
708bddad1SSøren Schmidt  * Redistribution and use in source and binary forms, with or without
808bddad1SSøren Schmidt  * modification, are permitted provided that the following conditions
908bddad1SSøren Schmidt  * are met:
1008bddad1SSøren Schmidt  * 1. Redistributions of source code must retain the above copyright
11a926a37bSSøren Schmidt  *    notice, this list of conditions and the following disclaimer,
12a926a37bSSøren Schmidt  *    in this position and unchanged.
1308bddad1SSøren Schmidt  * 2. Redistributions in binary form must reproduce the above copyright
1408bddad1SSøren Schmidt  *    notice, this list of conditions and the following disclaimer in the
1508bddad1SSøren Schmidt  *    documentation and/or other materials provided with the distribution.
1608bddad1SSøren Schmidt  * 3. The name of the author may not be used to endorse or promote products
1721dc7d4fSJens Schweikhardt  *    derived from this software without specific prior written permission
1808bddad1SSøren Schmidt  *
1908bddad1SSøren Schmidt  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
2008bddad1SSøren Schmidt  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
2108bddad1SSøren Schmidt  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
2208bddad1SSøren Schmidt  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
2308bddad1SSøren Schmidt  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
2408bddad1SSøren Schmidt  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2508bddad1SSøren Schmidt  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2608bddad1SSøren Schmidt  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2708bddad1SSøren Schmidt  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
2808bddad1SSøren Schmidt  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2908bddad1SSøren Schmidt  */
3008bddad1SSøren Schmidt 
3108bddad1SSøren Schmidt #define TNOP		256
3208bddad1SSøren Schmidt #define TLSH		257
3308bddad1SSøren Schmidt #define TRSH		258
3408bddad1SSøren Schmidt #define TCLK		259
3508bddad1SSøren Schmidt #define TNLK		260
3608bddad1SSøren Schmidt #define TSLK		261
3708bddad1SSøren Schmidt #define TLALT		262
3808bddad1SSøren Schmidt #define TLCTR		263
3908bddad1SSøren Schmidt #define TNEXT		264
4008bddad1SSøren Schmidt #define TRCTR		265
4108bddad1SSøren Schmidt #define TRALT		266
4208bddad1SSøren Schmidt #define TALK		267
4308bddad1SSøren Schmidt #define TASH		268
4408bddad1SSøren Schmidt #define TMETA		269
4508bddad1SSøren Schmidt #define TRBT		270
4608bddad1SSøren Schmidt #define TDBG		271
4708bddad1SSøren Schmidt #define TFUNC		272
4808bddad1SSøren Schmidt #define TSCRN		273
4908bddad1SSøren Schmidt #define TLET		274
5008bddad1SSøren Schmidt #define TNUM		275
5108bddad1SSøren Schmidt #define TFLAG		276
5208bddad1SSøren Schmidt #define TBTAB		277
53a926a37bSSøren Schmidt #define TSUSP		278
541f150ac4SKazutaka YOKOTA #define TACC		279
5528d2c691SKazutaka YOKOTA #define TSPSC		280
56ac80d4b4SKazutaka YOKOTA #define TPREV		281
5752990a39SKazutaka YOKOTA #define TPANIC		282
5852990a39SKazutaka YOKOTA #define TLSHA		283
5952990a39SKazutaka YOKOTA #define TRSHA		284
6052990a39SKazutaka YOKOTA #define TLCTRA		285
6152990a39SKazutaka YOKOTA #define TRCTRA		286
6252990a39SKazutaka YOKOTA #define TLALTA		287
6352990a39SKazutaka YOKOTA #define TRALTA		288
641c06ce61SDavid Malone #define THALT		289
651c06ce61SDavid Malone #define TPDWN		290
664629b5e0SAndrey A. Chernov #define TPASTE		291
6708bddad1SSøren Schmidt 
6808bddad1SSøren Schmidt extern int number;
6908bddad1SSøren Schmidt extern char letter;
7008bddad1SSøren Schmidt extern FILE *yyin;
7113edc254SMaxim Sobolev 
7265f507d1SAlfred Perlstein extern int yylex(void);
73