Lines Matching refs:RET

60 #	define	RET(x)	{if(dbg)printf("lex %s [%s]\n", tokname(x), yytext); return(x); }  macro
62 # define RET(x) return(x) macro
98 RET('}');
101 <A>\n { lineno++; RET(NL); }
104 <A>; { RET(';'); }
107 <A>BEGIN { RET(XBEGIN); }
108 <A>END { RET(XEND); }
109 <A>func(tion)? { if (infunc) ERROR "illegal nested function" SYNTAX; RET(FUNC); }
110 <A>return { if (!infunc) ERROR "return not in function" SYNTAX; RET(RETURN); }
111 <A>"&&" { RET(AND); }
112 <A>"||" { RET(BOR); }
113 <A>"!" { RET(NOT); }
114 <A>"!=" { yylval.i = NE; RET(NE); }
115 <A>"~" { yylval.i = MATCH; RET(MATCHOP); }
116 <A>"!~" { yylval.i = NOTMATCH; RET(MATCHOP); }
117 <A>"<" { yylval.i = LT; RET(LT); }
118 <A>"<=" { yylval.i = LE; RET(LE); }
119 <A>"==" { yylval.i = EQ; RET(EQ); }
120 <A>">=" { yylval.i = GE; RET(GE); }
121 <A>">" { yylval.i = GT; RET(GT); }
122 <A>">>" { yylval.i = APPEND; RET(APPEND); }
123 <A>"++" { yylval.i = INCR; RET(INCR); }
124 <A>"--" { yylval.i = DECR; RET(DECR); }
125 <A>"+=" { yylval.i = ADDEQ; RET(ASGNOP); }
126 <A>"-=" { yylval.i = SUBEQ; RET(ASGNOP); }
127 <A>"*=" { yylval.i = MULTEQ; RET(ASGNOP); }
128 <A>"/=" { yylval.i = DIVEQ; RET(ASGNOP); }
129 <A>"%=" { yylval.i = MODEQ; RET(ASGNOP); }
130 <A>"^=" { yylval.i = POWEQ; RET(ASGNOP); }
131 <A>"**=" { yylval.i = POWEQ; RET(ASGNOP); }
132 <A>"=" { yylval.i = ASSIGN; RET(ASGNOP); }
133 <A>"**" { RET(POWER); }
134 <A>"^" { RET(POWER); }
136 <A>"$"{D}+ { yylval.cp = fieldadr(atoi(yytext+1)); RET(FIELD); }
146 RET(IVAR);
149 <A>"$" { RET(INDIRECT); }
150 <A>NF { yylval.cp = setsymtab((uchar *)yytext, (uchar *)"", 0.0, NUM, symtab); RET(VARNF); }
154 RET(NUMBER); }
156 <A>while { RET(WHILE); }
157 <A>for { RET(FOR); }
158 <A>do { RET(DO); }
159 <A>if { RET(IF); }
160 <A>else { RET(ELSE); }
161 <A>next { RET(NEXT); }
162 <A>exit { RET(EXIT); }
163 <A>break { RET(BREAK); }
164 <A>continue { RET(CONTINUE); }
165 <A>print { yylval.i = PRINT; RET(PRINT); }
166 <A>printf { yylval.i = PRINTF; RET(PRINTF); }
167 <A>sprintf { yylval.i = SPRINTF; RET(SPRINTF); }
168 <A>split { yylval.i = SPLIT; RET(SPLIT); }
169 <A>substr { RET(SUBSTR); }
170 <A>sub { yylval.i = SUB; RET(SUB); }
171 <A>gsub { yylval.i = GSUB; RET(GSUB); }
172 <A>index { RET(INDEX); }
173 <A>match { RET(MATCHFCN); }
174 <A>in { RET(IN); }
175 <A>getline { RET(GETLINE); }
176 <A>close { RET(CLOSE); }
177 <A>delete { RET(DELETE); }
178 <A>length { yylval.i = FLENGTH; RET(BLTIN); }
179 <A>log { yylval.i = FLOG; RET(BLTIN); }
180 <A>int { yylval.i = FINT; RET(BLTIN); }
181 <A>exp { yylval.i = FEXP; RET(BLTIN); }
182 <A>sqrt { yylval.i = FSQRT; RET(BLTIN); }
183 <A>sin { yylval.i = FSIN; RET(BLTIN); }
184 <A>cos { yylval.i = FCOS; RET(BLTIN); }
185 <A>atan2 { yylval.i = FATAN; RET(BLTIN); }
186 <A>system { yylval.i = FSYSTEM; RET(BLTIN); }
187 <A>rand { yylval.i = FRAND; RET(BLTIN); }
188 <A>srand { yylval.i = FSRAND; RET(BLTIN); }
189 <A>toupper { yylval.i = FTOUPPER; RET(BLTIN); }
190 <A>tolower { yylval.i = FTOLOWER; RET(BLTIN); }
196 RET(ARG);
201 RET(CALL);
203 RET(VAR);
209 <A>"}" { if (--bracecnt < 0) ERROR "extra }" SYNTAX; BEGIN sc; RET(';'); }
210 <A>"]" { if (--brackcnt < 0) ERROR "extra ]" SYNTAX; RET(']'); }
211 <A>")" { if (--parencnt < 0) ERROR "extra )" SYNTAX; RET(')'); }
216 RET(yylval.i = yytext[0]); /* everything else */ }
224 RET(REGEXPR); }
231 RET(STRING); }