Lines Matching refs:yyval

1517   YYSTYPE yyval;
1723 yyval = yyvsp[1-yylen];
1731 { (yyval.file)= rtrnValue= (yyvsp[0].file); }
1737 { (yyval.file)= rtrnValue= (yyvsp[0].file); }
1743 { (yyval.file)= rtrnValue= (yyvsp[0].file); }
1749 { (yyval.file)= (XkbFile *)AppendStmt(&(yyvsp[-1].file)->common,&(yyvsp[0].file)->common); }
1755 { (yyval.file)= (yyvsp[0].file); }
1761 { (yyval.file)= CreateXKBFile((yyvsp[-5].uval),(yyvsp[-4].str),&(yyvsp[-2].file)->common,(yyvsp[-6].uval)); }
1767 { (yyval.uval)= XkmKeymapFile; }
1773 { (yyval.uval)= XkmSemanticsFile; }
1779 { (yyval.uval)= XkmLayoutFile; }
1785 { (yyval.file)= (XkbFile *)AppendStmt(&(yyvsp[-1].file)->common,&(yyvsp[0].file)->common); }
1791 { (yyval.file)= (yyvsp[0].file); }
1797 { (yyval.file)= CreateXKBFile((yyvsp[-5].uval),(yyvsp[-4].str),(yyvsp[-2].any),(yyvsp[-6].uval)); }
1803 { (yyval.file)= CreateXKBFile((yyvsp[-2].uval),(yyvsp[-1].str),(yyvsp[0].any),(yyvsp[-3].uval)); }
1809 { (yyval.uval)= XkmKeyNamesIndex; }
1815 { (yyval.uval)= XkmTypesIndex; }
1821 { (yyval.uval)= XkmCompatMapIndex; }
1827 { (yyval.uval)= XkmSymbolsIndex; }
1833 { (yyval.uval)= XkmGeometryIndex; }
1839 { (yyval.uval)= (yyvsp[0].uval); }
1845 { (yyval.uval)= 0; }
1851 { (yyval.uval)= (((yyvsp[-1].uval))|((yyvsp[0].uval))); }
1857 { (yyval.uval)= (yyvsp[0].uval); }
1863 { (yyval.uval)= XkbLC_Partial; }
1869 { (yyval.uval)= XkbLC_Default; }
1875 { (yyval.uval)= XkbLC_Hidden; }
1881 { (yyval.uval)= XkbLC_AlphanumericKeys; }
1887 { (yyval.uval)= XkbLC_ModifierKeys; }
1893 { (yyval.uval)= XkbLC_KeypadKeys; }
1899 { (yyval.uval)= XkbLC_FunctionKeys; }
1905 { (yyval.uval)= XkbLC_AlternateGroup; }
1911 { (yyval.any)= AppendStmt((yyvsp[-1].any),(yyvsp[0].any)); }
1917 { (yyval.any)= NULL; }
1925 (yyval.any)= &(yyvsp[0].var)->common;
1934 (yyval.any)= &(yyvsp[0].vmod)->common;
1943 (yyval.any)= &(yyvsp[0].interp)->common;
1952 (yyval.any)= &(yyvsp[0].keyName)->common;
1961 (yyval.any)= &(yyvsp[0].keyAlias)->common;
1970 (yyval.any)= &(yyvsp[0].keyType)->common;
1979 (yyval.any)= &(yyvsp[0].syms)->common;
1988 (yyval.any)= &(yyvsp[0].modMask)->common;
1997 (yyval.any)= &(yyvsp[0].groupCompat)->common;
2006 (yyval.any)= &(yyvsp[0].ledMap)->common;
2015 (yyval.any)= &(yyvsp[0].ledName)->common;
2024 (yyval.any)= &(yyvsp[0].shape)->common;
2033 (yyval.any)= &(yyvsp[0].section)->common;
2042 (yyval.any)= &(yyvsp[0].doodad)->common;
2052 (yyval.any)= &IncludeCreate(scanBuf,MergeDefault)->common;
2055 (yyval.any)= &IncludeCreate(scanBuf,(yyvsp[-1].uval))->common;
2063 { (yyval.var)= VarCreate((yyvsp[-3].expr),(yyvsp[-1].expr)); }
2069 { (yyval.var)= BoolVarCreate((yyvsp[-1].sval),1); }
2075 { (yyval.var)= BoolVarCreate((yyvsp[-1].sval),0); }
2087 (yyval.keyName)= def;
2099 (yyval.keyAlias)= def;
2106 { (yyval.vmod)= (yyvsp[-1].vmod); }
2112 { (yyval.vmod)= (VModDef *)AppendStmt(&(yyvsp[-2].vmod)->common,&(yyvsp[0].vmod)->common); }
2118 { (yyval.vmod)= (yyvsp[0].vmod); }
2124 { (yyval.vmod)= VModCreate((yyvsp[0].sval),NULL); }
2130 { (yyval.vmod)= VModCreate((yyvsp[-2].sval),(yyvsp[0].expr)); }
2138 (yyval.interp)= (yyvsp[-4].interp);
2145 { (yyval.interp)= InterpCreate((yyvsp[-2].str), (yyvsp[0].expr)); }
2151 { (yyval.interp)= InterpCreate((yyvsp[0].str), NULL); }
2157 { (yyval.var)= (VarDef *)AppendStmt(&(yyvsp[-1].var)->common,&(yyvsp[0].var)->common); }
2163 { (yyval.var)= (yyvsp[0].var); }
2169 { (yyval.keyType)= KeyTypeCreate((yyvsp[-4].sval),(yyvsp[-2].var)); }
2175 { (yyval.syms)= SymbolsCreate((yyvsp[-4].str),(ExprDef *)(yyvsp[-2].var)); }
2181 { (yyval.var)= (VarDef *)AppendStmt(&(yyvsp[-2].var)->common,&(yyvsp[0].var)->common); }
2187 { (yyval.var)= (yyvsp[0].var); }
2193 { (yyval.var)= NULL; }
2199 { (yyval.var)= VarCreate((yyvsp[-2].expr),(yyvsp[0].expr)); }
2205 { (yyval.var)= VarCreate((yyvsp[-2].expr),(yyvsp[0].expr)); }
2211 { (yyval.var)= BoolVarCreate((yyvsp[0].sval),1); }
2217 { (yyval.var)= BoolVarCreate((yyvsp[0].sval),0); }
2223 { (yyval.var)= VarCreate(NULL,(yyvsp[0].expr)); }
2229 { (yyval.expr)= (yyvsp[-1].expr); }
2235 { (yyval.expr)= ExprCreateUnary(ExprActionList,TypeAction,(yyvsp[-1].expr)); }
2241 { (yyval.groupCompat)= GroupCompatCreate((yyvsp[-3].ival),(yyvsp[-1].expr)); }
2247 { (yyval.modMask)= ModMapCreate((yyvsp[-4].sval),(yyvsp[-2].expr)); }
2253 { (yyval.ledMap)= IndicatorMapCreate((yyvsp[-4].sval),(yyvsp[-2].var)); }
2259 { (yyval.ledName)= IndicatorNameCreate((yyvsp[-3].ival),(yyvsp[-1].expr),False); }
2265 { (yyval.ledName)= IndicatorNameCreate((yyvsp[-3].ival),(yyvsp[-1].expr),True); }
2271 { (yyval.shape)= ShapeDeclCreate((yyvsp[-4].sval),(OutlineDef *)&(yyvsp[-2].outline)->common); }
2280 (yyval.shape)= ShapeDeclCreate((yyvsp[-4].sval),outlines);
2287 { (yyval.section)= SectionDeclCreate((yyvsp[-4].sval),(yyvsp[-2].row)); }
2293 { (yyval.row)=(RowDef *)AppendStmt(&(yyvsp[-1].row)->common,&(yyvsp[0].row)->common);}
2299 { (yyval.row)= (yyvsp[0].row); }
2305 { (yyval.row)= RowDeclCreate((yyvsp[-2].key)); }
2311 { (yyval.row)= (RowDef *)(yyvsp[0].var); }
2317 { (yyval.row)= (RowDef *)(yyvsp[0].doodad); }
2323 { (yyval.row)= (RowDef *)(yyvsp[0].ledMap); }
2329 { (yyval.row)= (RowDef *)(yyvsp[0].overlay); }
2335 { (yyval.key)=(KeyDef *)AppendStmt(&(yyvsp[-1].key)->common,&(yyvsp[0].key)->common);}
2341 { (yyval.key)= (yyvsp[0].key); }
2347 { (yyval.key)= (yyvsp[-2].key); }
2353 { (yyval.key)= (KeyDef *)(yyvsp[0].var); }
2359 { (yyval.key)=(KeyDef *)AppendStmt(&(yyvsp[-2].key)->common,&(yyvsp[0].key)->common);}
2365 { (yyval.key)= (yyvsp[0].key); }
2371 { (yyval.key)= KeyDeclCreate((yyvsp[0].str),NULL); }
2377 { (yyval.key)= KeyDeclCreate(NULL,(yyvsp[-1].expr)); }
2383 { (yyval.overlay)= OverlayDeclCreate((yyvsp[-4].sval),(yyvsp[-2].olKey)); }
2390 (yyval.olKey)= (OverlayKeyDef *)
2398 { (yyval.olKey)= (yyvsp[0].olKey); }
2404 { (yyval.olKey)= OverlayKeyCreate((yyvsp[-2].str),(yyvsp[0].str)); }
2410 { (yyval.outline)=(OutlineDef *)AppendStmt(&(yyvsp[-2].outline)->common,&(yyvsp[0].outline)->common);}
2416 { (yyval.outline)= (yyvsp[0].outline); }
2422 { (yyval.outline)= OutlineCreate(None,(yyvsp[-1].expr)); }
2428 { (yyval.outline)= OutlineCreate((yyvsp[-4].sval),(yyvsp[-1].expr)); }
2434 { (yyval.outline)= OutlineCreate((yyvsp[-2].sval),(yyvsp[0].expr)); }
2440 { (yyval.expr)= (ExprDef *)AppendStmt(&(yyvsp[-2].expr)->common,&(yyvsp[0].expr)->common); }
2446 { (yyval.expr)= (yyvsp[0].expr); }
2457 (yyval.expr)= expr;
2464 { (yyval.doodad)= DoodadCreate((yyvsp[-5].uval),(yyvsp[-4].sval),(yyvsp[-2].var)); }
2470 { (yyval.uval)= XkbTextDoodad; }
2476 { (yyval.uval)= XkbOutlineDoodad; }
2482 { (yyval.uval)= XkbSolidDoodad; }
2488 { (yyval.uval)= XkbLogoDoodad; }
2494 { (yyval.sval)= (yyvsp[0].sval); }
2500 { (yyval.sval)= (yyvsp[0].sval); }
2506 { (yyval.sval)= XkbInternAtom(NULL,"action",False); }
2512 { (yyval.sval)= XkbInternAtom(NULL,"interpret",False); }
2518 { (yyval.sval)= XkbInternAtom(NULL,"type",False); }
2524 { (yyval.sval)= XkbInternAtom(NULL,"key",False); }
2530 { (yyval.sval)= XkbInternAtom(NULL,"group",False); }
2536 {(yyval.sval)=XkbInternAtom(NULL,"modifier_map",False);}
2542 { (yyval.sval)= XkbInternAtom(NULL,"indicator",False); }
2548 { (yyval.sval)= XkbInternAtom(NULL,"shape",False); }
2554 { (yyval.sval)= XkbInternAtom(NULL,"row",False); }
2560 { (yyval.sval)= XkbInternAtom(NULL,"section",False); }
2566 { (yyval.sval)= XkbInternAtom(NULL,"text",False); }
2572 { (yyval.uval)= (yyvsp[0].uval); }
2578 { (yyval.uval)= MergeDefault; }
2584 { (yyval.uval)= MergeDefault; }
2590 { (yyval.uval)= MergeAugment; }
2596 { (yyval.uval)= MergeOverride; }
2602 { (yyval.uval)= MergeReplace; }
2608 { (yyval.uval)= MergeAltForm; }
2614 { (yyval.expr)= (yyvsp[0].expr); }
2620 { (yyval.expr)= NULL; }
2626 { (yyval.expr)= (ExprDef *)AppendStmt(&(yyvsp[-2].expr)->common,&(yyvsp[0].expr)->common); }
2632 { (yyval.expr)= (yyvsp[0].expr); }
2638 { (yyval.expr)= ExprCreateBinary(OpDivide,(yyvsp[-2].expr),(yyvsp[0].expr)); }
2644 { (yyval.expr)= ExprCreateBinary(OpAdd,(yyvsp[-2].expr),(yyvsp[0].expr)); }
2650 { (yyval.expr)= ExprCreateBinary(OpSubtract,(yyvsp[-2].expr),(yyvsp[0].expr)); }
2656 { (yyval.expr)= ExprCreateBinary(OpMultiply,(yyvsp[-2].expr),(yyvsp[0].expr)); }
2662 { (yyval.expr)= ExprCreateBinary(OpAssign,(yyvsp[-2].expr),(yyvsp[0].expr)); }
2668 { (yyval.expr)= (yyvsp[0].expr); }
2674 { (yyval.expr)= ExprCreateUnary(OpNegate,(yyvsp[0].expr)->type,(yyvsp[0].expr)); }
2680 { (yyval.expr)= ExprCreateUnary(OpUnaryPlus,(yyvsp[0].expr)->type,(yyvsp[0].expr)); }
2686 { (yyval.expr)= ExprCreateUnary(OpNot,TypeBoolean,(yyvsp[0].expr)); }
2692 { (yyval.expr)= ExprCreateUnary(OpInvert,(yyvsp[0].expr)->type,(yyvsp[0].expr)); }
2698 { (yyval.expr)= (yyvsp[0].expr); }
2704 { (yyval.expr)= ActionCreate((yyvsp[-3].sval),(yyvsp[-1].expr)); }
2710 { (yyval.expr)= (yyvsp[0].expr); }
2716 { (yyval.expr)= (yyvsp[-1].expr); }
2722 { (yyval.expr)= (ExprDef *)AppendStmt(&(yyvsp[-2].expr)->common,&(yyvsp[0].expr)->common); }
2728 { (yyval.expr)= (yyvsp[0].expr); }
2734 { (yyval.expr)= ActionCreate((yyvsp[-3].sval),(yyvsp[-1].expr)); }
2744 (yyval.expr)= expr;
2756 (yyval.expr)= expr;
2769 (yyval.expr)= expr;
2782 (yyval.expr)= expr;
2793 (yyval.expr)= expr;
2804 (yyval.expr)= expr;
2815 (yyval.expr)= expr;
2828 (yyval.expr)= expr;
2835 { (yyval.expr)= (yyvsp[0].expr); }
2841 { (yyval.expr)= NULL; }
2847 { (yyval.expr)= AppendKeysymList((yyvsp[-2].expr),(yyvsp[0].str)); }
2853 { (yyval.expr)= AppendKeysymList((yyvsp[-2].expr),strdup("NoSymbol")); }
2859 { (yyval.expr)= CreateKeysymList((yyvsp[0].str)); }
2865 { (yyval.expr)= CreateKeysymList(strdup("NoSymbol")); }
2871 { (yyval.str)= strdup(scanBuf); }
2877 { (yyval.str)= strdup("section"); }
2884 if ((yyvsp[0].ival)<10) { (yyval.str)= malloc(2); (yyval.str)[0]= '0' + (yyvsp[0].ival); (yyval.str)[1]= '\0'; }
2885 else { (yyval.str)= malloc(19); snprintf((yyval.str), 19, "0x%x", (yyvsp[0].ival)); }
2892 { (yyval.expr)= (yyvsp[-1].expr); }
2898 { (yyval.ival)= -(yyvsp[0].ival); }
2904 { (yyval.ival)= (yyvsp[0].ival); }
2910 { (yyval.ival)= scanInt; }
2916 { (yyval.ival)= scanInt*XkbGeomPtsPerMM; }
2922 { (yyval.ival)= scanInt; }
2928 { (yyval.ival)= scanInt; }
2934 { (yyval.str)= strdup(scanBuf); }
2940 { (yyval.sval)= XkbInternAtom(NULL,scanBuf,False); }
2946 { (yyval.sval)= XkbInternAtom(NULL,"default",False); }
2952 { (yyval.sval)= XkbInternAtom(NULL,scanBuf,False); }
2958 { (yyval.str)= (yyvsp[0].str); }
2964 { (yyval.str)= NULL; }
2970 { (yyval.str)= strdup(scanBuf); }
2990 YY_SYMBOL_PRINT ("-> $$ =", YY_CAST (yysymbol_kind_t, yyr1[yyn]), &yyval, &yyloc);
2995 *++yyvsp = yyval;