arith_yylex.c (0bfd163f522701b486e066fa2e56624c02f5081a) | arith_yylex.c (22ea47ec90b51ecbe6d2883ccee30d312c162044) |
---|---|
1/*- 2 * Copyright (c) 2002 3 * Herbert Xu. 4 * Copyright (c) 1993 5 * The Regents of the University of California. All rights reserved. 6 * 7 * This code is derived from software contributed to Berkeley by 8 * Kenneth Almquist. --- 36 unchanged lines hidden (view full) --- 45#include "memalloc.h" 46#include "parser.h" 47#include "syntax.h" 48 49#if ARITH_BOR + 11 != ARITH_BORASS || ARITH_ASS + 11 != ARITH_EQ 50#error Arithmetic tokens are out of order. 51#endif 52 | 1/*- 2 * Copyright (c) 2002 3 * Herbert Xu. 4 * Copyright (c) 1993 5 * The Regents of the University of California. All rights reserved. 6 * 7 * This code is derived from software contributed to Berkeley by 8 * Kenneth Almquist. --- 36 unchanged lines hidden (view full) --- 45#include "memalloc.h" 46#include "parser.h" 47#include "syntax.h" 48 49#if ARITH_BOR + 11 != ARITH_BORASS || ARITH_ASS + 11 != ARITH_EQ 50#error Arithmetic tokens are out of order. 51#endif 52 |
53extern const char *arith_buf; 54 | |
55int 56yylex(void) 57{ 58 int value; 59 const char *buf = arith_buf; 60 char *end; 61 const char *p; 62 --- 188 unchanged lines hidden --- | 53int 54yylex(void) 55{ 56 int value; 57 const char *buf = arith_buf; 58 char *end; 59 const char *p; 60 --- 188 unchanged lines hidden --- |