1*0a6a1f1dSLionel Sambuc /* $NetBSD: options.h,v 1.2 2014/10/29 18:28:36 christos Exp $ */ 2357f1050SThomas Veerman 3357f1050SThomas Veerman /* flex - tool to generate fast lexical analyzers */ 4357f1050SThomas Veerman 5357f1050SThomas Veerman /* Copyright (c) 1990 The Regents of the University of California. */ 6357f1050SThomas Veerman /* All rights reserved. */ 7357f1050SThomas Veerman 8357f1050SThomas Veerman /* This code is derived from software contributed to Berkeley by */ 9357f1050SThomas Veerman /* Vern Paxson. */ 10357f1050SThomas Veerman 11357f1050SThomas Veerman /* The United States Government has rights in this work pursuant */ 12357f1050SThomas Veerman /* to contract no. DE-AC03-76SF00098 between the United States */ 13357f1050SThomas Veerman /* Department of Energy and the University of California. */ 14357f1050SThomas Veerman 15357f1050SThomas Veerman /* This file is part of flex. */ 16357f1050SThomas Veerman 17357f1050SThomas Veerman /* Redistribution and use in source and binary forms, with or without */ 18357f1050SThomas Veerman /* modification, are permitted provided that the following conditions */ 19357f1050SThomas Veerman /* are met: */ 20357f1050SThomas Veerman 21357f1050SThomas Veerman /* 1. Redistributions of source code must retain the above copyright */ 22357f1050SThomas Veerman /* notice, this list of conditions and the following disclaimer. */ 23357f1050SThomas Veerman /* 2. Redistributions in binary form must reproduce the above copyright */ 24357f1050SThomas Veerman /* notice, this list of conditions and the following disclaimer in the */ 25357f1050SThomas Veerman /* documentation and/or other materials provided with the distribution. */ 26357f1050SThomas Veerman 27357f1050SThomas Veerman /* Neither the name of the University nor the names of its contributors */ 28357f1050SThomas Veerman /* may be used to endorse or promote products derived from this software */ 29357f1050SThomas Veerman /* without specific prior written permission. */ 30357f1050SThomas Veerman 31357f1050SThomas Veerman /* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR */ 32357f1050SThomas Veerman /* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED */ 33357f1050SThomas Veerman /* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR */ 34357f1050SThomas Veerman /* PURPOSE. */ 35357f1050SThomas Veerman 36357f1050SThomas Veerman #ifndef OPTIONS_H 37357f1050SThomas Veerman #define OPTIONS_H 38357f1050SThomas Veerman #include "scanopt.h" 39357f1050SThomas Veerman 40357f1050SThomas Veerman extern optspec_t flexopts[]; 41357f1050SThomas Veerman 42357f1050SThomas Veerman enum flexopt_flag_t { 43357f1050SThomas Veerman /* Use positive integers only, since they are return codes for scanopt. 44357f1050SThomas Veerman * Order is not important. */ 45357f1050SThomas Veerman OPT_7BIT = 1, 46357f1050SThomas Veerman OPT_8BIT, 47357f1050SThomas Veerman OPT_ALIGN, 48357f1050SThomas Veerman OPT_ALWAYS_INTERACTIVE, 49357f1050SThomas Veerman OPT_ARRAY, 50357f1050SThomas Veerman OPT_BACKUP, 51357f1050SThomas Veerman OPT_BATCH, 52357f1050SThomas Veerman OPT_BISON_BRIDGE, 53357f1050SThomas Veerman OPT_BISON_BRIDGE_LOCATIONS, 54357f1050SThomas Veerman OPT_CASE_INSENSITIVE, 55357f1050SThomas Veerman OPT_COMPRESSION, 56357f1050SThomas Veerman OPT_CPLUSPLUS, 57357f1050SThomas Veerman OPT_DEBUG, 58357f1050SThomas Veerman OPT_DEFAULT, 59357f1050SThomas Veerman OPT_DONOTHING, 60357f1050SThomas Veerman OPT_ECS, 61357f1050SThomas Veerman OPT_FAST, 62357f1050SThomas Veerman OPT_FULL, 63357f1050SThomas Veerman OPT_HEADER_FILE, 64357f1050SThomas Veerman OPT_HELP, 65357f1050SThomas Veerman OPT_INTERACTIVE, 66357f1050SThomas Veerman OPT_LEX_COMPAT, 67357f1050SThomas Veerman OPT_POSIX_COMPAT, 68357f1050SThomas Veerman OPT_MAIN, 69357f1050SThomas Veerman OPT_META_ECS, 70357f1050SThomas Veerman OPT_NEVER_INTERACTIVE, 71357f1050SThomas Veerman OPT_NO_ALIGN, 72357f1050SThomas Veerman OPT_NO_ANSI_FUNC_DEFS, 73357f1050SThomas Veerman OPT_NO_ANSI_FUNC_PROTOS, 74357f1050SThomas Veerman OPT_NO_DEBUG, 75357f1050SThomas Veerman OPT_NO_DEFAULT, 76357f1050SThomas Veerman OPT_NO_ECS, 77357f1050SThomas Veerman OPT_NO_LINE, 78357f1050SThomas Veerman OPT_NO_MAIN, 79357f1050SThomas Veerman OPT_NO_META_ECS, 80357f1050SThomas Veerman OPT_NO_REENTRANT, 81357f1050SThomas Veerman OPT_NO_REJECT, 82357f1050SThomas Veerman OPT_NO_STDINIT, 83357f1050SThomas Veerman OPT_NO_UNPUT, 84357f1050SThomas Veerman OPT_NO_WARN, 85357f1050SThomas Veerman OPT_NO_YYGET_EXTRA, 86357f1050SThomas Veerman OPT_NO_YYGET_IN, 87357f1050SThomas Veerman OPT_NO_YYGET_LENG, 88357f1050SThomas Veerman OPT_NO_YYGET_LINENO, 89357f1050SThomas Veerman OPT_NO_YYGET_LLOC, 90357f1050SThomas Veerman OPT_NO_YYGET_LVAL, 91357f1050SThomas Veerman OPT_NO_YYGET_OUT, 92357f1050SThomas Veerman OPT_NO_YYGET_TEXT, 93357f1050SThomas Veerman OPT_NO_YYLINENO, 94357f1050SThomas Veerman OPT_NO_YYMORE, 95357f1050SThomas Veerman OPT_NO_YYSET_EXTRA, 96357f1050SThomas Veerman OPT_NO_YYSET_IN, 97357f1050SThomas Veerman OPT_NO_YYSET_LINENO, 98357f1050SThomas Veerman OPT_NO_YYSET_LLOC, 99357f1050SThomas Veerman OPT_NO_YYSET_LVAL, 100357f1050SThomas Veerman OPT_NO_YYSET_OUT, 101357f1050SThomas Veerman OPT_NO_YYWRAP, 102357f1050SThomas Veerman OPT_NO_YY_POP_STATE, 103357f1050SThomas Veerman OPT_NO_YY_PUSH_STATE, 104357f1050SThomas Veerman OPT_NO_YY_SCAN_BUFFER, 105357f1050SThomas Veerman OPT_NO_YY_SCAN_BYTES, 106357f1050SThomas Veerman OPT_NO_YY_SCAN_STRING, 107357f1050SThomas Veerman OPT_NO_YY_TOP_STATE, 108357f1050SThomas Veerman OPT_OUTFILE, 109357f1050SThomas Veerman OPT_PERF_REPORT, 110357f1050SThomas Veerman OPT_POINTER, 111357f1050SThomas Veerman OPT_PREFIX, 112357f1050SThomas Veerman OPT_PREPROCDEFINE, 113357f1050SThomas Veerman OPT_PREPROC_LEVEL, 114357f1050SThomas Veerman OPT_READ, 115357f1050SThomas Veerman OPT_REENTRANT, 116357f1050SThomas Veerman OPT_REJECT, 117357f1050SThomas Veerman OPT_SKEL, 118357f1050SThomas Veerman OPT_STACK, 119357f1050SThomas Veerman OPT_STDINIT, 120357f1050SThomas Veerman OPT_STDOUT, 121357f1050SThomas Veerman OPT_TABLES_FILE, 122357f1050SThomas Veerman OPT_TABLES_VERIFY, 123357f1050SThomas Veerman OPT_TRACE, 124357f1050SThomas Veerman OPT_NO_UNISTD_H, 125357f1050SThomas Veerman OPT_VERBOSE, 126357f1050SThomas Veerman OPT_VERSION, 127357f1050SThomas Veerman OPT_WARN, 128357f1050SThomas Veerman OPT_YYCLASS, 129357f1050SThomas Veerman OPT_YYLINENO, 130357f1050SThomas Veerman OPT_YYMORE, 131357f1050SThomas Veerman OPT_YYWRAP 132357f1050SThomas Veerman }; 133357f1050SThomas Veerman 134357f1050SThomas Veerman #endif 135357f1050SThomas Veerman 136357f1050SThomas Veerman /* vim:set tabstop=8 softtabstop=4 shiftwidth=4 textwidth=0: */ 137