aslparser.y (f8146b882bc156c1d8ddf14bbea67253ebc064bb) | aslparser.y (493deb390baef09f40125589cbdb714cb274ab04) |
---|---|
1%{ 2/****************************************************************************** 3 * 4 * Module Name: aslparser.y - Master Bison/Yacc input file for iASL 5 * 6 *****************************************************************************/ 7 8/* --- 52 unchanged lines hidden (view full) --- 61 * ArgList, TermList, ByteList, DWordList, PackageList, 62 * ResourceMacroList, and FieldUnitList 63 */ 64 65void * 66AslLocalAllocate ( 67 unsigned int Size); 68 | 1%{ 2/****************************************************************************** 3 * 4 * Module Name: aslparser.y - Master Bison/Yacc input file for iASL 5 * 6 *****************************************************************************/ 7 8/* --- 52 unchanged lines hidden (view full) --- 61 * ArgList, TermList, ByteList, DWordList, PackageList, 62 * ResourceMacroList, and FieldUnitList 63 */ 64 65void * 66AslLocalAllocate ( 67 unsigned int Size); 68 |
69 |
|
69/* Bison/yacc configuration */ 70 71#define static 72#undef malloc 73#define malloc AslLocalAllocate 74#undef alloca 75#define alloca AslLocalAllocate 76#define yytname AslCompilername --- 17 unchanged lines hidden (view full) --- 94 char *s; 95 ACPI_PARSE_OBJECT *n; 96} 97 98/* 99 * These shift/reduce conflicts are expected. There should be zero 100 * reduce/reduce conflicts. 101 */ | 70/* Bison/yacc configuration */ 71 72#define static 73#undef malloc 74#define malloc AslLocalAllocate 75#undef alloca 76#define alloca AslLocalAllocate 77#define yytname AslCompilername --- 17 unchanged lines hidden (view full) --- 95 char *s; 96 ACPI_PARSE_OBJECT *n; 97} 98 99/* 100 * These shift/reduce conflicts are expected. There should be zero 101 * reduce/reduce conflicts. 102 */ |
102%expect 101 | 103%expect 102 |
103 104/*! [Begin] no source code translation */ 105 106/* 107 * The M4 macro processor is used to bring in the parser items, 108 * in order to keep this master file smaller, and to break up 109 * the various parser items. 110 */ --- 6 unchanged lines hidden (view full) --- 117/* Production types/names */ 118 119m4_include(asltypes.y) 120%% 121 122/* Production rules */ 123 124m4_include(aslrules.y) | 104 105/*! [Begin] no source code translation */ 106 107/* 108 * The M4 macro processor is used to bring in the parser items, 109 * in order to keep this master file smaller, and to break up 110 * the various parser items. 111 */ --- 6 unchanged lines hidden (view full) --- 118/* Production types/names */ 119 120m4_include(asltypes.y) 121%% 122 123/* Production rules */ 124 125m4_include(aslrules.y) |
126m4_include(aslprimaries.y) |
|
125m4_include(aslcstyle.y) | 127m4_include(aslcstyle.y) |
128m4_include(aslkeywords.y) |
|
126m4_include(aslresources.y) | 129m4_include(aslresources.y) |
130m4_include(aslhelpers.y) |
|
127%% 128 129/*! [End] no source code translation !*/ 130 131/* Local support functions in C */ 132 133m4_include(aslsupport.y) | 131%% 132 133/*! [End] no source code translation !*/ 134 135/* Local support functions in C */ 136 137m4_include(aslsupport.y) |