Home
last modified time | relevance | path

Searched refs:yytext (Results 1 – 7 of 7) sorted by relevance

/utopia/UTPA2-700.0.x/projects/build/scripts/dtc/
H A Ddtc-lexer.l46 srcpos_update(&yylloc, yytext, yyleng); \
68 char *name = strchr(yytext, '\"') + 1;
69 yytext[yyleng-1] = '\0';
80 DPRINT("String: %s\n", yytext);
81 yylval.data = data_copy_escape_string(yytext+1,
100 DPRINT("Label: %s\n", yytext);
101 yylval.labelref = xstrdup(yytext);
107 yylval.literal = xstrdup(yytext);
113 DPRINT("Ref: %s\n", yytext+1);
114 yylval.labelref = xstrdup(yytext+1);
[all …]
H A Ddtc-lexer.lex.c_shipped179 /* Undo effects of setting up yytext. */ \
185 YY_DO_BEFORE_ACTION; /* set up yytext again */ \
281 /* yy_hold_char holds the character lost when yytext is formed. */
357 extern char *yytext;
358 #define yytext_ptr yytext
366 * corresponding action - sets up yytext.
552 char *yytext;
588 srcpos_update(&yylloc, yytext, yyleng); \
702 #define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
772 /* Code executed at the beginning of each rule, after yytext and yyleng
[all …]
/utopia/UTPA2-700.0.x/projects/build/scripts/genksyms/
H A Dlex.c_shipped219 /* Undo effects of setting up yytext. */ \
225 YY_DO_BEFORE_ACTION; /* set up yytext again */ \
340 /* yy_hold_char holds the character lost when yytext is formed. */
406 /* %% [1.0] yytext/yyin/yyout/yy_state_type/yylineno etc. def's & init go here */
424 extern char *yytext;
425 #define yytext_ptr yytext
437 * corresponding action - sets up yytext.
441 /* %% [2.0] code to fiddle yytext and yyleng for yymore() goes here \ */\
445 /* %% [3.0] code to copy yytext_ptr to yytext[] goes here, if %array \ */\
628 char *yytext;
[all …]
H A Dlex.l90 . return yytext[0];
121 #define APP _APP(yytext, yyleng)
163 file = strchr(yytext, '\"')+1;
167 cur_line = atoi(yytext+2);
180 const struct resword *r = is_reserved_word(yytext, yyleng);
207 if (find_symbol(yytext, SYM_TYPEDEF, 1))
366 if (token == IDENT && yyleng == 1 && yytext[0] == 'X')
/utopia/UTPA2-700.0.x/projects/build/scripts/kconfig/
H A Dzconf.l92 unput(yytext[0]);
99 struct kconf_id *id = kconf_id_lookup(yytext, yyleng);
107 alloc_string(yytext, yyleng);
128 str = yytext[0];
135 struct kconf_id *id = kconf_id_lookup(yytext, yyleng);
140 alloc_string(yytext, yyleng);
H A Dlex.zconf.c21 #define yytext zconftext macro
H A Dlex.zconf.c_shipped21 #define yytext zconftext