cpp4.c (8e2a856b) cpp4.c (509a48ff)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

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

83 * textput() tests for work buffer overflow.
84 * charput puts a single character in the macro work area (parm[])
85 * in a manner analogous to textput().
86 */
87{
88 register int c;
89 register DEFBUF *dp; /* -> new definition */
90 int isredefine; /* TRUE if redefined */
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

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

83 * textput() tests for work buffer overflow.
84 * charput puts a single character in the macro work area (parm[])
85 * in a manner analogous to textput().
86 */
87{
88 register int c;
89 register DEFBUF *dp; /* -> new definition */
90 int isredefine; /* TRUE if redefined */
91 char *old = 0; /* Remember redefined */
91 char *old = NULL; /* Remember redefined */
92
93 if (type[(c = skipws())] != LET)
94 goto bad_define;
95 isredefine = FALSE; /* Set if redefining */
96 if ((dp = lookid(c)) == NULL) /* If not known now */
97 dp = defendel(token, FALSE); /* Save the name */
98 else { /* It's known: */
99 isredefine = TRUE; /* Remember this fact */

--- 532 unchanged lines hidden ---
92
93 if (type[(c = skipws())] != LET)
94 goto bad_define;
95 isredefine = FALSE; /* Set if redefining */
96 if ((dp = lookid(c)) == NULL) /* If not known now */
97 dp = defendel(token, FALSE); /* Save the name */
98 else { /* It's known: */
99 isredefine = TRUE; /* Remember this fact */

--- 532 unchanged lines hidden ---