1228072Sbapt/* flex - tool to generate fast lexical analyzers */ 2228072Sbapt 3228072Sbapt/* Copyright (c) 1990 The Regents of the University of California. */ 4228072Sbapt/* All rights reserved. */ 5228072Sbapt 6228072Sbapt/* This code is derived from software contributed to Berkeley by */ 7228072Sbapt/* Vern Paxson. */ 8228072Sbapt 9228072Sbapt/* The United States Government has rights in this work pursuant */ 10228072Sbapt/* to contract no. DE-AC03-76SF00098 between the United States */ 11228072Sbapt/* Department of Energy and the University of California. */ 12228072Sbapt 13228072Sbapt/* This file is part of flex. */ 14228072Sbapt 15228072Sbapt/* Redistribution and use in source and binary forms, with or without */ 16228072Sbapt/* modification, are permitted provided that the following conditions */ 17228072Sbapt/* are met: */ 18228072Sbapt 19228072Sbapt/* 1. Redistributions of source code must retain the above copyright */ 20228072Sbapt/* notice, this list of conditions and the following disclaimer. */ 21228072Sbapt/* 2. Redistributions in binary form must reproduce the above copyright */ 22228072Sbapt/* notice, this list of conditions and the following disclaimer in the */ 23228072Sbapt/* documentation and/or other materials provided with the distribution. */ 24228072Sbapt 25228072Sbapt/* Neither the name of the University nor the names of its contributors */ 26228072Sbapt/* may be used to endorse or promote products derived from this software */ 27228072Sbapt/* without specific prior written permission. */ 28228072Sbapt 29228072Sbapt/* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR */ 30228072Sbapt/* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED */ 31228072Sbapt/* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR */ 32228072Sbapt/* PURPOSE. */ 33228072Sbapt 34228072Sbapt#ifndef OPTIONS_H 35228072Sbapt#define OPTIONS_H 36228072Sbapt#include "scanopt.h" 37228072Sbapt 38228072Sbaptextern optspec_t flexopts[]; 39228072Sbapt 40228072Sbaptenum flexopt_flag_t { 41228072Sbapt /* Use positive integers only, since they are return codes for scanopt. 42228072Sbapt * Order is not important. */ 43228072Sbapt OPT_7BIT = 1, 44228072Sbapt OPT_8BIT, 45228072Sbapt OPT_ALIGN, 46228072Sbapt OPT_ALWAYS_INTERACTIVE, 47228072Sbapt OPT_ARRAY, 48228072Sbapt OPT_BACKUP, 49228072Sbapt OPT_BATCH, 50228072Sbapt OPT_BISON_BRIDGE, 51228072Sbapt OPT_BISON_BRIDGE_LOCATIONS, 52228072Sbapt OPT_CASE_INSENSITIVE, 53228072Sbapt OPT_COMPRESSION, 54228072Sbapt OPT_CPLUSPLUS, 55228072Sbapt OPT_DEBUG, 56228072Sbapt OPT_DEFAULT, 57228072Sbapt OPT_DONOTHING, 58228072Sbapt OPT_ECS, 59228072Sbapt OPT_FAST, 60228072Sbapt OPT_FULL, 61228072Sbapt OPT_HEADER_FILE, 62228072Sbapt OPT_HELP, 63228072Sbapt OPT_INTERACTIVE, 64228072Sbapt OPT_LEX_COMPAT, 65228072Sbapt OPT_POSIX_COMPAT, 66228072Sbapt OPT_MAIN, 67228072Sbapt OPT_META_ECS, 68228072Sbapt OPT_NEVER_INTERACTIVE, 69228072Sbapt OPT_NO_ALIGN, 70228072Sbapt OPT_NO_ANSI_FUNC_DEFS, 71228072Sbapt OPT_NO_ANSI_FUNC_PROTOS, 72228072Sbapt OPT_NO_DEBUG, 73228072Sbapt OPT_NO_DEFAULT, 74228072Sbapt OPT_NO_ECS, 75228072Sbapt OPT_NO_LINE, 76228072Sbapt OPT_NO_MAIN, 77228072Sbapt OPT_NO_META_ECS, 78228072Sbapt OPT_NO_REENTRANT, 79228072Sbapt OPT_NO_REJECT, 80228072Sbapt OPT_NO_STDINIT, 81228072Sbapt OPT_NO_UNPUT, 82228072Sbapt OPT_NO_WARN, 83228072Sbapt OPT_NO_YYGET_EXTRA, 84228072Sbapt OPT_NO_YYGET_IN, 85228072Sbapt OPT_NO_YYGET_LENG, 86228072Sbapt OPT_NO_YYGET_LINENO, 87228072Sbapt OPT_NO_YYGET_LLOC, 88228072Sbapt OPT_NO_YYGET_LVAL, 89228072Sbapt OPT_NO_YYGET_OUT, 90228072Sbapt OPT_NO_YYGET_TEXT, 91228072Sbapt OPT_NO_YYLINENO, 92228072Sbapt OPT_NO_YYMORE, 93228072Sbapt OPT_NO_YYSET_EXTRA, 94228072Sbapt OPT_NO_YYSET_IN, 95228072Sbapt OPT_NO_YYSET_LINENO, 96228072Sbapt OPT_NO_YYSET_LLOC, 97228072Sbapt OPT_NO_YYSET_LVAL, 98228072Sbapt OPT_NO_YYSET_OUT, 99228072Sbapt OPT_NO_YYWRAP, 100228072Sbapt OPT_NO_YY_POP_STATE, 101228072Sbapt OPT_NO_YY_PUSH_STATE, 102228072Sbapt OPT_NO_YY_SCAN_BUFFER, 103228072Sbapt OPT_NO_YY_SCAN_BYTES, 104228072Sbapt OPT_NO_YY_SCAN_STRING, 105228072Sbapt OPT_NO_YY_TOP_STATE, 106228072Sbapt OPT_OUTFILE, 107228072Sbapt OPT_PERF_REPORT, 108228072Sbapt OPT_POINTER, 109228072Sbapt OPT_PREFIX, 110228072Sbapt OPT_PREPROCDEFINE, 111228072Sbapt OPT_PREPROC_LEVEL, 112228072Sbapt OPT_READ, 113228072Sbapt OPT_REENTRANT, 114228072Sbapt OPT_REJECT, 115228072Sbapt OPT_SKEL, 116228072Sbapt OPT_STACK, 117228072Sbapt OPT_STDINIT, 118228072Sbapt OPT_STDOUT, 119228072Sbapt OPT_TABLES_FILE, 120228072Sbapt OPT_TABLES_VERIFY, 121228072Sbapt OPT_TRACE, 122228072Sbapt OPT_NO_UNISTD_H, 123228072Sbapt OPT_VERBOSE, 124228072Sbapt OPT_VERSION, 125228072Sbapt OPT_WARN, 126228072Sbapt OPT_YYCLASS, 127228072Sbapt OPT_YYLINENO, 128228072Sbapt OPT_YYMORE, 129228072Sbapt OPT_YYWRAP 130228072Sbapt}; 131228072Sbapt 132228072Sbapt#endif 133228072Sbapt 134228072Sbapt/* vim:set tabstop=8 softtabstop=4 shiftwidth=4 textwidth=0: */ 135