/original-bsd/contrib/sc/ |
H A D | gram.y | 52 %token S_GET 53 %token S_PUT 55 %token S_LET 57 %token S_TBL 68 %token S_SET 71 %token K_SUM 87 %token K_LN 89 %token K_PI 100 %token K_IF 102 %token K_PV [all …]
|
H A D | psc.c | 55 char token[1000]; variable 138 (void) printf("let %s%d = %s\n", coltoa(effc), effr, token); 147 p = token; 165 (void) printf("leftstring %s%d = \"%s\"\n", coltoa(effc),effr,token); 167 (void) printf("rightstring %s%d = \"%s\"\n",coltoa(effc),effr,token); 174 i = strlen(token); 218 p = token; in scan() 252 p = token; in scan()
|
/original-bsd/local/ditroff/ditroff.okeeffe/eqn/ |
H A D | lex.c | 9 char token[SSIZE]; variable 39 token[sp++] = '\\'; in yylex() 40 token[sp++] = c; in yylex() 44 token[sp] = '\0'; in yylex() 54 getstr(token, SSIZE); in yylex() 185 p1 = strsave(token); 188 p2 = strsave(token); 201 p = strsave(token); in ifdef() 211 getstr(token, SSIZE); in space() 255 lefteq = token[0]; in delim() [all …]
|
/original-bsd/usr.sbin/amd/fsinfo/ |
H A D | fsi_gram.y | 36 %token tARCH 37 %token tAS 42 %token tEQ 44 %token tFREQ 45 %token tFROM 46 %token tFS 50 %token tHOST 52 %token tLOG 57 %token tOPTS 58 %token tOS [all …]
|
/original-bsd/usr.bin/window/ |
H A D | parser1.c | 28 while (token != T_EOL && token != T_EOF) { in p_start() 29 if (token == T_STR) in p_start() 33 if (token == T_EOL) in p_start() 49 switch (token) { 85 if (token != T_THEN) { 95 if (token == T_ELSIF) 98 if (token == T_ELSE) { 105 if (token == T_ENDIF) { 121 switch (token) { 135 if (token == T_EOF) { [all …]
|
H A D | parser4.c | 41 if (token != T_OR) 46 if (token != T_XOR) 51 if (token != T_AND) 56 if (token == T_EQ) 58 else if (token == T_NE) 64 switch (token) { 82 if (token == T_LS) 84 else if (token == T_RS) 90 if (token == T_PLUS) 98 switch (token) { [all …]
|
H A D | parser3.c | 42 if (token != T_ASSIGN) { 71 if (token != T_QUEST) 89 if (token != T_COLON) { 109 if (token != T_OROR) 124 if (token != T_OROR) 143 if (token != T_ANDAND) 158 if (token != T_ANDAND)
|
H A D | parser2.c | 50 if (token == T_LP) 56 if (token == T_COMMA) /* null argument */ 64 if (token != T_ASSIGN) { 146 if (token == T_COMMA) 152 if (token == T_RP) 154 else if (token != T_EOL && token != T_EOF)
|
H A D | parser5.c | 28 switch (token) { 50 op = token; 128 switch (token) { 150 if (token != T_RP) { 160 while (token == T_LP) {
|
/original-bsd/old/eqn/common_source/ |
H A D | lex.c | 16 char token[SSIZE]; variable 97 token[sp++] = '\\'; in yylex() 98 token[sp++] = c; in yylex() 102 token[sp]='\0'; in yylex() 103 yylval = (int) &token[0]; in yylex() 112 getstr(token, SSIZE); in yylex() 202 p1 = strsave(token); 203 if (cstr(token, 1, SSIZE)) 205 p2 = strsave(token); 231 lefteq = token[0]; in delim() [all …]
|
/original-bsd/old/berknet/ |
H A D | netrc.c | 179 while((t = token(cfile))){ 189 if(token(cfile) != ID)continue; 206 while((t = token(cfile))){ 211 if(token(cfile) && status.login[0] == 0) 228 status.nonotify = token(cfile) == NO; 231 status.nowrite = token(cfile) == NO; 238 status.quiet = token(cfile) == YES; 241 status.force = token(cfile) == YES; 246 if(token(cfile))local = lookup(tokval); 252 if(token(cfile)) [all …]
|
/original-bsd/local/ditroff/ditroff.old.okeeffe/pic/ |
H A D | picy.y | 8 %token <i> BOX 1 9 %token <i> ARROW 2 10 %token <i> CIRCLE 3 11 %token <i> ARC 4 13 %token <i> LINE 6 14 %token <i> MOVE 7 15 %token <i> TEXT 8 20 %token <i> PRINT 21 %token <i> PLACE 22 %token <i> ATTR [all …]
|
/original-bsd/usr.sbin/config/ |
H A D | config.y | 8 %token AND 9 %token ANY 10 %token ARGS 11 %token AT 12 %token BIO 13 %token COMMA 16 %token CPU 17 %token CSR 21 %token DRQ 22 %token DST [all …]
|
/original-bsd/local/ditroff/ditroff.okeeffe/pic/ |
H A D | picy.y | 9 %token <i> LINE 2 10 %token <i> ARROW 3 11 %token <i> CIRCLE 4 12 %token <i> ELLIPSE 5 13 %token <i> ARC 6 14 %token <i> SPLINE 7 15 %token <i> BLOCK 8 16 %token <p> TEXT 9 18 %token <i> MOVE 11 20 %token <i> PLACE [all …]
|
/original-bsd/usr.bin/tn3270/tools/ |
H A D | mkmake.y | 163 list: token 203 tokens : token 210 token: TOKEN 398 *token; in same_search() 515 token = ptr; 522 *token; in same_unlink() 529 if ((tmp = token->nexttoken) == token) { 532 token->lasttoken->nexttoken = token->nexttoken; 533 token->nexttoken->lasttoken = token->lasttoken; 534 token->nexttoken = token->lasttoken = token; [all …]
|
/original-bsd/old/lex/ |
H A D | parser.y | 412 scopy(p,token); 504 token[i++] = c; 507 token[i] = 0; 516 token[i++] = c; 519 token[i] = 0; 538 token[i] = 0; 571 token[i++] = c; 583 token[i] = 0; 627 token[i] = 0; 656 token[i++] = c; [all …]
|
/original-bsd/old/ratfor/ |
H A D | r0.c | 33 char token[100]; in getcase() local 47 if ((t=gtok(token)) == ':') in getcase() 57 outcode(token); in getcase() 73 char token[20]; in getdefault() local 74 if (gnbtok(token) != ':') in getdefault()
|
/original-bsd/old/awk/ |
H A D | Makefile | 7 OBJS+= token.o awk.g.o 8 CLEANFILES+= token.c proctab.c proc.o proc awk.h awk.lx.c y.tab.h 13 token.c: awk.h 33 proc: token.o proc.o 34 ${CC} -o ${.TARGET} proc.o token.o
|
H A D | proc.c | 21 { int token; member 84 for(p=proc;p->token!=0;p++) in main() 87 for(p=proc;p->token!=0;p++) in main() 88 table[p->token-FIRSTTOKEN]=p->name; in main() 95 for(p=proc; p->token!=0; p++) in main() 96 names[p->token-FIRSTTOKEN] = p->pname; in main()
|
H A D | awk.g.y | 8 %token FIRSTTOKEN /*must be first*/ 9 %token FINAL FATAL 10 %token LT LE GT GE EQ NE 11 %token MATCH NOTMATCH 12 %token APPEND 13 %token ADD MINUS MULT DIVIDE MOD UMINUS 15 %token JUMP 16 %token XBEGIN XEND 17 %token NL 18 %token PRINT PRINTF SPRINTF SPLIT [all …]
|
/original-bsd/usr.bin/indent/ |
H A D | indent.c | 481 *e_code++ = token[0]; 515 *e_code++ = token[0]; 545 char *res = token; 557 if (troff && token[0] == '-' && token[1] == '>') 571 char *res = token; 574 switch (token[0]) { 576 if (token[1] == '=') 580 if (token[1] == '=') 584 if (token[1] == '=') 588 if (token[1] == '|') [all …]
|
/original-bsd/usr.bin/pascal/src/ |
H A D | yylex.c | 78 cp = token; in yylex() 95 for (cp = token; *cp; cp++) in yylex() 129 yylval = copystr(token); in yylex() 137 yylval = copystr(token); in yylex() 175 yylval = copystr(token); in yylex() 196 if (cp == token) in yylex() 205 if (cp == token) { in yylex() 211 yylval = copystr(token); in yylex()
|
/original-bsd/local/ditroff/ditroff.okeeffe/grap/ |
H A D | grap.y | 9 %token <i> COPY THRU UNTIL 10 %token <i> FOR FROM TO BY AT WITH 11 %token <i> IF 12 %token <p> GRAPH THEN ELSE DOSTR 13 %token <i> DOT DASH INVIS SOLID 14 %token <i> TEXT JUST SIZE 17 %token <i> HEIGHT WIDTH RADIUS 18 %token <f> NUMBER 19 %token <op> NAME VARNAME DEFNAME 20 %token <p> STRING [all …]
|
/original-bsd/usr.bin/ftp/ |
H A D | ruserpass.c | 25 static int token __P((void)); 76 while ((t = token())) switch(t) { 84 if (token() != ID) 108 while ((t = token()) && t != MACH && t != DEFAULT) switch(t) { 111 if (token()) 128 if (token() && *apass == 0) { 140 if (token() && *aacct == 0) { 219 token() in token() function
|
/original-bsd/games/atc/ |
H A D | grammar.y | 20 %token <ival> HeightOp 21 %token <ival> WidthOp 22 %token <ival> UpdateOp 23 %token <ival> NewplaneOp 24 %token <cval> DirOp 25 %token <ival> ConstOp 26 %token <ival> LineOp 27 %token <ival> AirportOp 28 %token <ival> BeaconOp 29 %token <ival> ExitOp
|