1%{ 2/* $OpenBSD: bc.y,v 1.33 2009/10/27 23:59:36 deraadt Exp $ */ 3 4/* 5 * Copyright (c) 2003, Otto Moerbeek <otto@drijf.net> 6 * 7 * Permission to use, copy, modify, and distribute this software for any 8 * purpose with or without fee is hereby granted, provided that the above --- 17 unchanged lines hidden (view full) --- 26 * completely rewritten lexical analyzer using lex(1). 27 * 28 * Some effort has been made to make sure that the generated code is 29 * the same as the code generated by the older version, to provide 30 * easy regression testing. 31 */ 32 33#include <sys/cdefs.h> |
34__FBSDID("$FreeBSD: head/usr.bin/bc/bc.y 235789 2012-05-22 16:33:10Z bapt $"); |
35 36#include <sys/types.h> 37#include <sys/wait.h> 38 39#include <ctype.h> 40#include <err.h> 41#include <errno.h> 42#include <getopt.h> --- 21 unchanged lines hidden (view full) --- 64struct tree { 65 union { 66 char *astr; 67 const char *cstr; 68 } u; 69 ssize_t index; 70}; 71 |
72int yywrap(void); 73 74int fileindex; 75int sargc; 76const char **sargv; 77const char *filename; 78char *cmdexpr; 79 --- 1126 unchanged lines hidden --- |