Initial community commit
This commit is contained in:
parent
537bcbc862
commit
fc06254474
16440 changed files with 4239995 additions and 2 deletions
20
Src/Plugins/Visualization/vis_avs/evallib/LEXGET.C
Normal file
20
Src/Plugins/Visualization/vis_avs/evallib/LEXGET.C
Normal file
|
@ -0,0 +1,20 @@
|
|||
/*
|
||||
* lexget.c
|
||||
*
|
||||
* Bob Denny 28-Aug-82 Move stdio dependencies to lexerr(), lexget(),
|
||||
* lexech() and mapch(). This is one of 4 modules
|
||||
* in lexlib which depend upon the standard I/O package.
|
||||
*
|
||||
* Scott Guthery 20-Nov-83 Adapt for IBM PC & DeSmet C.
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <lex.h>
|
||||
extern char expression[4096];
|
||||
extern int pos;
|
||||
lexgetc()
|
||||
{
|
||||
char c = expression[pos];
|
||||
if (c) pos++;
|
||||
return( c != 0 ? c : -1);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue