lex.c (10067) | lex.c (29574) |
---|---|
1/* 2 * Copyright (c) 1980, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 328 unchanged lines hidden (view full) --- 337 printf("Illegal use of \"message list\"\n"); 338 break; 339 } 340 if ((c = getmsglist(cp, msgvec, com->c_msgflag)) < 0) 341 break; 342 if (c == 0) { 343 *msgvec = first(com->c_msgflag, 344 com->c_msgmask); | 1/* 2 * Copyright (c) 1980, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 328 unchanged lines hidden (view full) --- 337 printf("Illegal use of \"message list\"\n"); 338 break; 339 } 340 if ((c = getmsglist(cp, msgvec, com->c_msgflag)) < 0) 341 break; 342 if (c == 0) { 343 *msgvec = first(com->c_msgflag, 344 com->c_msgmask); |
345 msgvec[1] = NULL; | 345 msgvec[1] = 0; |
346 } | 346 } |
347 if (*msgvec == NULL) { | 347 if (*msgvec == 0) { |
348 printf("No applicable messages\n"); 349 break; 350 } 351 e = (*com->c_func)(msgvec); 352 break; 353 354 case NDMLIST: 355 /* --- 321 unchanged lines hidden --- | 348 printf("No applicable messages\n"); 349 break; 350 } 351 e = (*com->c_func)(msgvec); 352 break; 353 354 case NDMLIST: 355 /* --- 321 unchanged lines hidden --- |