Deleted Added
full compact
iplang_l.l (37074) iplang_l.l (53024)
1%{
2/*
1%{
2/*
3 * Copyright (C) 1997 by Darren Reed.
3 * Copyright (C) 1997-1998 by Darren Reed.
4 *
5 * Redistribution and use in source and binary forms are permitted
6 * provided that this notice is preserved and due credit is given
7 * to the original author and the contributors.
8 *
4 *
5 * Redistribution and use in source and binary forms are permitted
6 * provided that this notice is preserved and due credit is given
7 * to the original author and the contributors.
8 *
9 * $Id: iplang_l.l,v 2.0.2.15.2.5 1997/12/28 01:32:13 darrenr Exp $
9 * $Id: iplang_l.l,v 2.1 1999/08/04 17:30:53 darrenr Exp $
10 */
11#include <stdio.h>
12#include <string.h>
13#include <sys/param.h>
14#if defined(__SVR4) || defined(__sysv__)
15#include <sys/stream.h>
16#endif
17#include <sys/types.h>

--- 287 unchanged lines hidden (view full) ---

305 break;
306 }
307 return nstate;
308}
309
310
311void swallow()
312{
10 */
11#include <stdio.h>
12#include <string.h>
13#include <sys/param.h>
14#if defined(__SVR4) || defined(__sysv__)
15#include <sys/stream.h>
16#endif
17#include <sys/types.h>

--- 287 unchanged lines hidden (view full) ---

305 break;
306 }
307 return nstate;
308}
309
310
311void swallow()
312{
313 int c = input();
313 int c;
314
314
315 c = input();
316
315 if (c == '#') {
316 while ((c != '\n') && (c != EOF))
317 c = input();
318 }
319 unput(c);
320}
317 if (c == '#') {
318 while ((c != '\n') && (c != EOF))
319 c = input();
320 }
321 unput(c);
322}