asltokens.y (f8146b882bc156c1d8ddf14bbea67253ebc064bb) asltokens.y (493deb390baef09f40125589cbdb714cb274ab04)
1NoEcho('
2/******************************************************************************
3 *
4 * Module Name: asltokens.y - Bison/Yacc token types
5 *
6 *****************************************************************************/
7
8/*

--- 39 unchanged lines hidden (view full) ---

48 *
49 * Token types: These are returned by the lexer
50 *
51 * NOTE: This list MUST match the AslKeywordMapping table found
52 * in aslmap.c EXACTLY! Double check any changes!
53 *
54 *****************************************************************************/
55
1NoEcho('
2/******************************************************************************
3 *
4 * Module Name: asltokens.y - Bison/Yacc token types
5 *
6 *****************************************************************************/
7
8/*

--- 39 unchanged lines hidden (view full) ---

48 *
49 * Token types: These are returned by the lexer
50 *
51 * NOTE: This list MUST match the AslKeywordMapping table found
52 * in aslmap.c EXACTLY! Double check any changes!
53 *
54 *****************************************************************************/
55
56/*
57 * Most tokens are defined to return <i>, which is a UINT64.
58 *
59 * These tokens return <s>, a pointer to the associated lexed string:
60 *
61 * PARSEOP_NAMESEG
62 * PARSEOP_NAMESTRING
63 * PARSEOP_STRING_LITERAL
64 * PARSEOP_STRUCTURE_NAMESTRING
65 */
56%token <i> PARSEOP_ACCESSAS
57%token <i> PARSEOP_ACCESSATTRIB_BLOCK
58%token <i> PARSEOP_ACCESSATTRIB_BLOCK_CALL
59%token <i> PARSEOP_ACCESSATTRIB_BYTE
60%token <i> PARSEOP_ACCESSATTRIB_MULTIBYTE
61%token <i> PARSEOP_ACCESSATTRIB_QUICK
62%token <i> PARSEOP_ACCESSATTRIB_RAW_BYTES
63%token <i> PARSEOP_ACCESSATTRIB_RAW_PROCESS

--- 397 unchanged lines hidden (view full) ---

461%right <i> PARSEOP_EXP_INDEX_RIGHT
462
463/* Macros */
464
465%token <i> PARSEOP_PRINTF
466%token <i> PARSEOP_FPRINTF
467%token <i> PARSEOP_FOR
468
66%token <i> PARSEOP_ACCESSAS
67%token <i> PARSEOP_ACCESSATTRIB_BLOCK
68%token <i> PARSEOP_ACCESSATTRIB_BLOCK_CALL
69%token <i> PARSEOP_ACCESSATTRIB_BYTE
70%token <i> PARSEOP_ACCESSATTRIB_MULTIBYTE
71%token <i> PARSEOP_ACCESSATTRIB_QUICK
72%token <i> PARSEOP_ACCESSATTRIB_RAW_BYTES
73%token <i> PARSEOP_ACCESSATTRIB_RAW_PROCESS

--- 397 unchanged lines hidden (view full) ---

471%right <i> PARSEOP_EXP_INDEX_RIGHT
472
473/* Macros */
474
475%token <i> PARSEOP_PRINTF
476%token <i> PARSEOP_FPRINTF
477%token <i> PARSEOP_FOR
478
479/* Structures */
480
481%token <i> PARSEOP_STRUCTURE
482%token <s> PARSEOP_STRUCTURE_NAMESTRING
483%token <i> PARSEOP_STRUCTURE_TAG
484%token <i> PARSEOP_STRUCTURE_ELEMENT
485%token <i> PARSEOP_STRUCTURE_INSTANCE
486%token <i> PARSEOP_STRUCTURE_REFERENCE
487%token <i> PARSEOP_STRUCTURE_POINTER
488
489/* Top level */
490
491%token <i> PARSEOP_ASL_CODE
492
493
494/*******************************************************************************
495 *
496 * Tokens below are not in the aslmap.c file
497 *
498 ******************************************************************************/
499
500
501/* Tokens below this are not in the aslmap.c file */
502
469/* Specific parentheses tokens are not used at this time */
470 /* PARSEOP_EXP_PAREN_OPEN */
471 /* PARSEOP_EXP_PAREN_CLOSE */
472
503/* Specific parentheses tokens are not used at this time */
504 /* PARSEOP_EXP_PAREN_OPEN */
505 /* PARSEOP_EXP_PAREN_CLOSE */
506
507/* ASL+ variable creation */
473
508
474%token <i> PARSEOP_ASL_CODE
509%token <i> PARSEOP_INTEGER_TYPE
510%token <i> PARSEOP_STRING_TYPE
511%token <i> PARSEOP_BUFFER_TYPE
512%token <i> PARSEOP_PACKAGE_TYPE
513%token <i> PARSEOP_REFERENCE_TYPE
475
514
515
476/*
477 * Special functions. These should probably stay at the end of this
478 * table.
479 */
480%token <i> PARSEOP___DATE__
481%token <i> PARSEOP___FILE__
482%token <i> PARSEOP___LINE__
483%token <i> PARSEOP___PATH__
516/*
517 * Special functions. These should probably stay at the end of this
518 * table.
519 */
520%token <i> PARSEOP___DATE__
521%token <i> PARSEOP___FILE__
522%token <i> PARSEOP___LINE__
523%token <i> PARSEOP___PATH__