]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - drivers/scsi/aic7xxx/aicasm/aicasm_gram.y
Fix common misspellings
[mirror_ubuntu-zesty-kernel.git] / drivers / scsi / aic7xxx / aicasm / aicasm_gram.y
index 81be6a261cc8503a0853699b9e6719139cb9b5f6..f1586a437906753ae8fd008c7869e239b8c3459f 100644 (file)
@@ -147,6 +147,8 @@ void yyerror(const char *string);
 
 %token T_ACCESS_MODE
 
+%token T_DONT_GENERATE_DEBUG_CODE
+
 %token T_MODES
 
 %token T_DEFINE
@@ -357,6 +359,7 @@ reg_attribute:
 |      size
 |      count
 |      access_mode
+|      dont_generate_debug_code
 |      modes
 |      field_defn
 |      enum_defn
@@ -410,6 +413,13 @@ access_mode:
        }
 ;
 
+dont_generate_debug_code:
+       T_DONT_GENERATE_DEBUG_CODE
+       {
+               cur_symbol->dont_generate_debug_code = 1;
+       }
+;
+
 modes:
        T_MODES mode_list
        {
@@ -793,7 +803,7 @@ macro_arglist:
 |      macro_arglist ',' T_ARG
        {
                if ($1 == 0) {
-                       stop("Comma without preceeding argument in arg list",
+                       stop("Comma without preceding argument in arg list",
                             EX_DATAERR);
                        /* NOTREACHED */
                }
@@ -1309,8 +1319,8 @@ code:
 ;
 
        /*
-        * This grammer differs from the one in the aic7xxx
-        * reference manual since the grammer listed there is
+        * This grammar differs from the one in the aic7xxx
+        * reference manual since the grammar listed there is
         * ambiguous and causes a shift/reduce conflict.
         * It also seems more logical as the "immediate"
         * argument is listed as the second arg like the
@@ -1789,7 +1799,7 @@ format_3_instr(int opcode, symbol_ref_t *src,
        instr = seq_alloc();
        f3_instr = &instr->format.format3;
        if (address->symbol == NULL) {
-               /* 'dot' referrence.  Use the current instruction pointer */
+               /* 'dot' reference.  Use the current instruction pointer */
                addr = instruction_ptr + address->offset;
        } else if (address->symbol->type == UNINITIALIZED) {
                /* forward reference */