scan.l (16073) | scan.l (17142) |
---|---|
1%{ 2/* $NetBSD: scan.l,v 1.8 1995/10/23 13:38:51 jpo Exp $ */ 3 4/* 5 * Copyright (c) 1994, 1995 Jochen Pohl 6 * All Rights Reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 29 unchanged lines hidden (view full) --- 38 39#include <stdlib.h> 40#include <string.h> 41#include <limits.h> 42#include <float.h> 43#include <ctype.h> 44#include <errno.h> 45#include <err.h> | 1%{ 2/* $NetBSD: scan.l,v 1.8 1995/10/23 13:38:51 jpo Exp $ */ 3 4/* 5 * Copyright (c) 1994, 1995 Jochen Pohl 6 * All Rights Reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 29 unchanged lines hidden (view full) --- 38 39#include <stdlib.h> 40#include <string.h> 41#include <limits.h> 42#include <float.h> 43#include <ctype.h> 44#include <errno.h> 45#include <err.h> |
46#include <math.h> |
|
46 47#include "lint1.h" 48#include "y.tab.h" 49 50#define CHAR_MASK (~(~0 << CHAR_BIT)) 51 52/* XXX declaration of strtouq() is missing in stdlib.h ? */ 53extern u_quad_t strtouq __P((const char *, char **, int)); --- 495 unchanged lines hidden (view full) --- 549 case QUAD: 550 if (uq > QUAD_MAX && !tflag) { 551 typ = UQUAD; 552 if (!sflag) 553 ansiu = 1; 554 } 555 break; 556 /* LINTED (enumeration values not handled in switch) */ | 47 48#include "lint1.h" 49#include "y.tab.h" 50 51#define CHAR_MASK (~(~0 << CHAR_BIT)) 52 53/* XXX declaration of strtouq() is missing in stdlib.h ? */ 54extern u_quad_t strtouq __P((const char *, char **, int)); --- 495 unchanged lines hidden (view full) --- 550 case QUAD: 551 if (uq > QUAD_MAX && !tflag) { 552 typ = UQUAD; 553 if (!sflag) 554 ansiu = 1; 555 } 556 break; 557 /* LINTED (enumeration values not handled in switch) */ |
558 default: |
|
557 } 558 559 if (typ != QUAD && typ != UQUAD) { 560 if (isutyp(typ)) { 561 uq = ul; 562 } else { 563 uq = (quad_t)(long)ul; 564 } --- 861 unchanged lines hidden --- | 559 } 560 561 if (typ != QUAD && typ != UQUAD) { 562 if (isutyp(typ)) { 563 uq = ul; 564 } else { 565 uq = (quad_t)(long)ul; 566 } --- 861 unchanged lines hidden --- |