Home
last modified time | relevance | path

Searched refs:GenCC (Results 1 – 11 of 11) sorted by relevance

/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/antlr/
Dgen.c193 if ( GenCC ) {gen1("zzTRACEOUT(\"%s\");\n", q->rname);}
426 if ( GenCC ) {gen("ANTLRTokenPtr");}
433 if ( GenCC ) {_gen1(" %s=NULL",ep);}
492 if ( !GenCC ) gen1("zzBLOCK(zztasp%d);\n", BlkLevel); in BLOCK_Head()
502 if ( !GenCC ) gen1("zzEXIT(zztasp%d);\n", BlkLevel); in BLOCK_Tail()
503 if ( !GenCC ) gen("}\n"); in BLOCK_Tail()
520 if ( GenCC ) genTokenPointers(q);
521 if ( GenCC&&GenAST ) genASTPointers(q);
524 else if ( !GenCC ) gen("zzMake0;\n");
525 if ( !GenCC ) gen("{\n");
[all …]
Dparser.dlg835 if ( GenCC ) zzreplstr("))");
883 if ( !GenCC ) {zzreplstr("zzaRet"); zzmore();}
890 if ( !GenCC ) {zzreplstr("zzempty_attr"); zzmore();}
899 if ( !GenCC ) zzreplstr("zzconstr_attr(");
913 if ( !GenCC ) sprintf(buf,"zzaArg(zztasp%d,%s)",
935 if ( !GenCC ) sprintf(buf,"zzaArg(zztasp%d,%s).",
970 if ( !GenCC ) sprintf(buf,"zzaArg(zztasp%s,%s)",i,j);
987 if ( !GenCC ) zzreplstr("zzaRet");
1010 /* MR10 */ if ( GenCC && (el->elem == NULL || el->elem->ntype==nRuleRef) )
1013 /* MR10 */ if ( !GenCC && (el->elem == NULL || el->elem->ntype==nRuleRef) && GenAST) {
[all …]
Dlex.c72 if ( GenCC ) in genLexDescr()
141 /* MR1 */ if (GenCC) { in genLexDescr()
204 if ( !GenCC ) {
211 if ( GenCC ) {
256 if ( GenCC && UserTokenDefsFile ) return; in genDefFile()
278 if ( !GenCC && LexGen ) { in genDefFile()
287 if ( GenCC ) fprintf(DefFile, "enum ANTLRTokenType {\n"); in genDefFile()
322 if ( GenCC ) { in genDefFile()
336 if ( GenCC ) { /* MR1 */ in genDefFile()
343 if ( !GenCC ) GenRulePrototypes(DefFile, SynDiag); in genDefFile()
Dscan.c1201 if ( GenCC ) zzreplstr("))"); in act104()
1255 if ( !GenCC ) {zzreplstr("zzaRet"); zzmore();} in act110()
1263 if ( !GenCC ) {zzreplstr("zzempty_attr"); zzmore();} in act111()
1273 if ( !GenCC ) zzreplstr("zzconstr_attr("); in act112()
1288 if ( !GenCC ) sprintf(buf,"zzaArg(zztasp%d,%s)", in act113()
1311 if ( !GenCC ) sprintf(buf,"zzaArg(zztasp%d,%s).", in act114()
1347 if ( !GenCC ) sprintf(buf,"zzaArg(zztasp%s,%s)",i,j); in act115()
1365 if ( !GenCC ) zzreplstr("zzaRet"); in act116()
1388 /* MR10 */ if ( GenCC && (el->elem == NULL || el->elem->ntype==nRuleRef) ) in act116()
1391 /* MR10 */ if ( !GenCC && (el->elem == NULL || el->elem->ntype==nRuleRef) && GenAST) { in act116()
[all …]
Dmain.c315 if ( GenCC ) { in pDL()
332 static void pCC(void) { GenCC = TRUE; } in pCC()
362 if ( GenCC ) { in pDL()
379 static void pCC() { GenCC = TRUE; } in pCC()
745 if ( GenCC && no_classes_found ) fatal("required grammar class not found (exiting...)");
813 else if ( !GenCC ) {
877 if (GenCC) {
1136 if ( GenCC) {
Dantlr.g270 if ( GenCC ) zzreplstr("))");
292 #token "$$" << if ( !GenCC ) {zzreplstr("zzaRet"); zzmore();}
295 #token "$\[\]" << if ( !GenCC ) {zzreplstr("zzempty_attr"); zzmore();}
299 if ( !GenCC ) zzreplstr("zzconstr_attr(");
309 if ( !GenCC ) sprintf(buf,"zzaArg(zztasp%d,%s)",
327 if ( !GenCC ) sprintf(buf,"zzaArg(zztasp%d,%s).",
358 if ( !GenCC ) sprintf(buf,"zzaArg(zztasp%s,%s)",i,j);
372 if ( !GenCC ) zzreplstr("zzaRet");
395 /* MR10 */ if ( GenCC && (el->elem == NULL || el->elem->ntype==nRuleRef) )
398 /* MR10 */ if ( !GenCC && (el->elem == NULL || el->elem->ntype==nRuleRef) && GenAST) {
[all …]
Dpred.c74 if ( GenCC )
117 GenCC?"LT(i)":"LATEXT(i)"),
131 /* MR10 */ if (!GenCC) {
Dglobals.c464 int GenCC = 0; /* Generate C++ output */ variable
Dbits.c109 if ( GenCC ) DumpSetWdForCC(); in DumpSetWd()
515 if ( GenCC ) return DefErrSetForCC1(nilOK, f, subst, name, "_set");
544 if ( GenCC ) return DefErrSetForCC1(nilOK, f, subst, name, suffix );
Dantlr.c114 if ( GenCC ) { in grammar()
432 && GenCC ) { in class_def()
437 if ( !GenCC ) { err("class meta-op used without C++ option"); } in class_def()
781 /* MR1 */ if (! GenCC) { in lmember()
817 /* MR1 */ if (! GenCC) { in lprefix()
1868 if ( GenCC && !GenAST )
1877 if ( GenCC ) {
Dproto.h208 extern int GenCC;