Searched refs:yylval (Results 1 - 25 of 38) sorted by relevance

12

/haiku-fatelf/src/bin/rc/
H A Dlexer.l94 false yylval.b = false; return BOOL;
95 true yylval.b = true; return BOOL;
97 0[xX]{HEX}{1,16} { yylval.i = strtoull(yytext + 2, NULL, 16);
99 0{OCT}{1,24} { yylval.i = strtoull(yytext, NULL, 8);
101 0[bB]{BIN}{1,64} { yylval.i = strtoull(yytext + 2, NULL, 2);
103 {DEC}+ { yylval.i = strtoull(yytext, NULL, 10);
105 '....' { yylval.i = (yytext[1] << 24)
111 {DEC}+{EXP} yylval.f = strtod(yytext, NULL); return FLOAT;
112 {DEC}*\.{DEC}+{EXP}? yylval.f = strtod(yytext, NULL); return FLOAT;
113 {DEC}+\.{DEC}*{EXP}? yylval
[all...]
/haiku-fatelf/src/bin/gdb/gdb/
H A Dada-lex.l26 /* each successive token and places a semantic value into yylval */
144 yylval.typed_val.type = type_char ();
145 yylval.typed_val.val = yytext[1];
151 yylval.typed_val.type = type_char ();
153 yylval.typed_val.val = v;
166 yylval.sval.ptr = tempbuf;
167 yylval.sval.length = tempbuf_len;
278 segments = name_lookup (ada_encode (yylval.ssym.stoken.ptr),
279 yylval.ssym.stoken.ptr,
302 block_lookup (yylval
[all...]
H A Df-exp.y70 #define yylval f_lval
638 Set yylval and return the token type; update lexptr.
852 yylval. Ripped off from ch-exp.y */
918 yylval.sval.ptr = tempbuf;
919 yylval.sval.length = tempbufindex;
952 yylval.lval = boolean_values[i].value;
964 yylval.opcode = dot_ops[i].opcode;
1058 &yylval);
1122 yylval.opcode = f77_keywords[i].opcode;
1126 yylval
[all...]
H A Dobjc-exp.y69 #define yylval objc_lval
989 Set yylval and return the token type; update lexptr. LEN is the
1272 yylval.opcode = tokentab3[i].opcode;
1281 yylval.opcode = tokentab2[i].opcode;
1308 yylval.typed_val_int.val = c;
1309 yylval.typed_val_int.type = builtin_type_char;
1427 got_dot | got_e, &yylval);
1490 yylval.sval.ptr = tempbuf;
1491 yylval.sval.length = tempbufindex;
1551 yylval
[all...]
H A Dp-exp.y72 #define yylval pascal_lval
761 Set yylval and return the token type; update lexptr.
1097 yylval.opcode = tokentab3[i].opcode;
1109 yylval.opcode = tokentab2[i].opcode;
1135 yylval.typed_val_int.val = c;
1136 yylval.typed_val_int.type = builtin_type_char;
1230 toktype = parse_number (tokstart, p - tokstart, got_dot|got_e, &yylval);
1313 yylval.sval.ptr = tempbuf;
1314 yylval.sval.length = tempbufindex;
1385 yylval
[all...]
H A Dc-exp.y67 #define yylval c_lval
1038 Set yylval and return the token type; update lexptr.
1341 yylval.opcode = tokentab3[i].opcode;
1350 yylval.opcode = tokentab2[i].opcode;
1395 yylval.typed_val_int.val = c;
1396 yylval.typed_val_int.type = builtin_type (current_gdbarch)->builtin_char;
1492 toktype = parse_number (tokstart, p - tokstart, got_dot|got_e, &yylval);
1589 yylval.sval.ptr = tempbuf;
1590 yylval.sval.length = tempbufindex;
1695 yylval
[all...]
H A Df-exp.c162 #define yylval f_lval macro
768 yylval = (Value); \
1068 YYSTYPE yylval;
1269 YYDSYMPRINTF ("Next token is", yytoken, &yylval, &yylloc);
1296 *++yyvsp = yylval;
1926 YYDSYMPRINTF ("Error: discarding", yytoken, &yylval, &yylloc);
1927 yydestruct (yytoken, &yylval);
1992 *++yyvsp = yylval;
2036 Set yylval and return the token type; update lexptr.
2250 yylval
1065 YYSTYPE yylval; variable
[all...]
H A Dm2-exp.c181 #define yylval m2_lval macro
889 yylval = (Value); \
1189 YYSTYPE yylval;
1390 YYDSYMPRINTF ("Next token is", yytoken, &yylval, &yylloc);
1417 *++yyvsp = yylval;
2056 YYDSYMPRINTF ("Error: discarding", yytoken, &yylval, &yylloc);
2057 yydestruct (yytoken, &yylval);
2122 *++yyvsp = yylval;
2182 Set yylval and return the token type; update lexptr.
2217 yylval
1186 YYSTYPE yylval; variable
[all...]
H A Dm2-exp.y66 #define yylval m2_lval
667 Set yylval and return the token type; update lexptr.
702 yylval.dval = atof (p);
749 yylval.ulval = n;
754 yylval.ulval = n;
761 yylval.lval = n;
920 yylval.sval.ptr = tokstart + 1;
921 yylval.sval.length = namelen - 1;
926 yylval.ulval = tokstart[1];
999 yylval
[all...]
H A Dc-exp.c174 #define yylval c_lval macro
948 yylval = (Value); \
1248 YYSTYPE yylval;
1449 YYDSYMPRINTF ("Next token is", yytoken, &yylval, &yylloc);
1476 *++yyvsp = yylval;
2583 YYDSYMPRINTF ("Error: discarding", yytoken, &yylval, &yylloc);
2584 yydestruct (yytoken, &yylval);
2649 *++yyvsp = yylval;
2693 Set yylval and return the token type; update lexptr.
2996 yylval
1245 YYSTYPE yylval; variable
[all...]
H A Dobjc-exp.c178 #define yylval objc_lval macro
932 yylval = (Value); \
1232 YYSTYPE yylval;
1433 YYDSYMPRINTF ("Next token is", yytoken, &yylval, &yylloc);
1460 *++yyvsp = yylval;
2545 YYDSYMPRINTF ("Error: discarding", yytoken, &yylval, &yylloc);
2546 yydestruct (yytoken, &yylval);
2611 *++yyvsp = yylval;
2655 Set yylval and return the token type; update lexptr. LEN is the
2938 yylval
1229 YYSTYPE yylval; variable
[all...]
H A Dp-exp.c158 #define yylval pascal_lval macro
742 yylval = (Value); \
1042 YYSTYPE yylval;
1243 YYDSYMPRINTF ("Next token is", yytoken, &yylval, &yylloc);
1270 *++yyvsp = yylval;
1997 YYDSYMPRINTF ("Error: discarding", yytoken, &yylval, &yylloc);
1998 yydestruct (yytoken, &yylval);
2063 *++yyvsp = yylval;
2107 Set yylval and return the token type; update lexptr.
2443 yylval
1039 YYSTYPE yylval; variable
[all...]
H A Djv-exp.c150 #define yylval java_lval macro
819 yylval = (Value); \
1119 YYSTYPE yylval;
1320 YYDSYMPRINTF ("Next token is", yytoken, &yylval, &yylloc);
1347 *++yyvsp = yylval;
1969 YYDSYMPRINTF ("Error: discarding", yytoken, &yylval, &yylloc);
1970 yydestruct (yytoken, &yylval);
2035 *++yyvsp = yylval;
2078 Set yylval and return the token type; update lexptr.
2278 yylval
1116 YYSTYPE yylval; variable
[all...]
H A Djv-exp.y64 #define yylval java_lval
688 Set yylval and return the token type; update lexptr.
888 yylval.opcode = tokentab3[i].opcode;
897 yylval.opcode = tokentab2[i].opcode;
923 yylval.typed_val_int.val = c;
924 yylval.typed_val_int.type = java_char_type;
1017 toktype = parse_number (tokstart, p - tokstart, got_dot|got_e, &yylval);
1099 yylval.sval.ptr = tempbuf;
1100 yylval.sval.length = tempbufindex;
1158 yylval
[all...]
/haiku-fatelf/src/bin/network/tcpdump/libpcap/
H A Dscanner.l79 #define yylval pcap_lval
80 extern YYSTYPE yylval;
308 ${B} { yylval.e = pcap_ether_aton(((char *)yytext)+1);
310 {N} { yylval.i = stoi((char *)yytext); return NUM; }
312 yylval.s = sdup((char *)yytext); return HID; }
313 {B}:{B}:{B}:{B}:{B}:{B} { yylval.e = pcap_ether_aton((char *)yytext);
324 yylval.s = sdup((char *)yytext); return HID6;
331 icmptype { yylval.i = 0; return NUM; }
332 icmpcode { yylval.i = 1; return NUM; }
333 icmp-echoreply { yylval
[all...]
/haiku-fatelf/src/bin/bc/bc/
H A Dscan.l252 yylval.s_value = strcopyof(yytext); return(NAME);
267 "+"|"-"|";"|"("|")"|"{"|"}"|"["|"]"|","|"^" { yylval.c_value = yytext[0];
272 "*"|"/"|"%" { yylval.c_value = yytext[0]; return((int)yytext[0]); }
273 "="|\+=|-=|\*=|\/=|%=|\^= { yylval.c_value = yytext[0]; return(ASSIGN_OP); }
281 yylval.c_value = yytext[1];
283 yylval.c_value = '=';
288 ==|\<=|\>=|\!=|"<"|">" { yylval.s_value = strcopyof(yytext); return(REL_OP); }
289 \+\+|-- { yylval.c_value = yytext[0]; return(INCR_DECR); }
314 [a-z][a-z0-9_]* { yylval.s_value = strcopyof(yytext); return(NAME); }
318 yylval
[all...]
H A Dbc.h42 extern YYSTYPE yylval;
H A Dscan.c1156 yylval.s_value = strcopyof(yytext); return(NAME);
1194 { yylval.c_value = yytext[0];
1215 { yylval.c_value = yytext[0]; return((int)yytext[0]); }
1220 { yylval.c_value = yytext[0]; return(ASSIGN_OP); }
1232 yylval.c_value = yytext[1];
1234 yylval.c_value = '=';
1243 { yylval.s_value = strcopyof(yytext); return(REL_OP); }
1248 { yylval.c_value = yytext[0]; return(INCR_DECR); }
1293 { yylval.s_value = strcopyof(yytext); return(NAME); }
1301 yylval
[all...]
/haiku-fatelf/src/bin/bash/
H A Dy.tab.h159 extern YYSTYPE yylval;
/haiku-fatelf/src/libs/print/libgutenprint/src/gutenprintui2/
H A Dprintrcy.h131 extern YYSTYPE yylval;
/haiku-fatelf/src/libs/print/libgutenprint/src/testpattern/
H A Dtestpatterny.h147 extern YYSTYPE yylval;
H A Dtestpatternl.c1240 yylval.ival = CMYK;DBG(CMYK); return CMYK;
1245 yylval.ival = CMYK;DBG(KCMY); return KCMY;
1250 yylval.ival = RGB;DBG(RGB); return RGB;
1255 yylval.ival = RGB;DBG(CMY); return CMY;
1260 yylval.ival = GRAY;DBG(GRAY); return GRAY;
1265 yylval.ival = GRAY;DBG(GRAY); return GRAY;
1270 yylval.ival = WHITE;DBG(WHITE); return WHITE;
1305 yylval.sval = yytext;DBG(COLOR); return COLOR;
1310 yylval.ival = strtol(yytext, NULL, 0); yylval
[all...]
/haiku-fatelf/src/bin/gawk/intl/
H A Dplural.c9 #define yylval __gettextlval macro
493 yylval = (Value); \
528 # define YYLEX yylex (&yylval, &yylloc, YYLEX_PARAM)
530 # define YYLEX yylex (&yylval, &yylloc)
534 # define YYLEX yylex (&yylval, YYLEX_PARAM)
536 # define YYLEX yylex (&yylval)
677 YYSTYPE yylval; \
923 YYPRINT (stderr, yychar, yylval);
964 *++yyvsp = yylval;
1302 *++yyvsp = yylval;
[all...]
/haiku-fatelf/src/bin/gawk/
H A Dawkgram.y146 /* these are just yylval numbers */
1617 yylval.sval = tokstart;
1637 yylval.nodetypeval = Node_illegal;
1735 yylval.nodetypeval = Node_assign_times;
1752 yylval.nodetypeval = Node_assign_exp;
1779 yylval.nodetypeval = Node_assign_mod;
1794 yylval.nodetypeval = Node_assign_exp;
1807 yylval.nodetypeval = Node_assign_plus;
1817 yylval.nodetypeval = Node_notequal;
1821 yylval
[all...]
/haiku-fatelf/src/bin/bash/lib/intl/
H A Dplural.c53 #define yylval __gettextlval macro
581 yylval = (Value); \
643 # define YYLEX yylex (&yylval, YYLEX_PARAM)
645 # define YYLEX yylex (&yylval)
933 YYSTYPE yylval;
995 yyvsp[0] = yylval;
1112 YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc);
1133 YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc);
1139 *++yyvsp = yylval;
1394 yydestruct ("Error: discarding", yytoken, &yylval);
930 YYSTYPE yylval; local
[all...]

Completed in 218 milliseconds

12