Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/xlint/lint1 add asm function renames



details:   https://anonhg.NetBSD.org/src/rev/330e4aba2f24
branches:  trunk
changeset: 328865:330e4aba2f24
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Apr 21 18:57:20 2014 +0000

description:
add asm function renames

diffstat:

 usr.bin/xlint/lint1/cgram.y |  18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diffs (79 lines):

diff -r cf173dc9ae82 -r 330e4aba2f24 usr.bin/xlint/lint1/cgram.y
--- a/usr.bin/xlint/lint1/cgram.y       Mon Apr 21 18:57:07 2014 +0000
+++ b/usr.bin/xlint/lint1/cgram.y       Mon Apr 21 18:57:20 2014 +0000
@@ -1,5 +1,5 @@
 %{
-/* $NetBSD: cgram.y,v 1.63 2014/04/18 21:54:52 christos Exp $ */
+/* $NetBSD: cgram.y,v 1.64 2014/04/21 18:57:20 christos Exp $ */
 
 /*
  * Copyright (c) 1996 Christopher G. Demetriou.  All Rights Reserved.
@@ -35,7 +35,7 @@
 
 #include <sys/cdefs.h>
 #if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: cgram.y,v 1.63 2014/04/18 21:54:52 christos Exp $");
+__RCSID("$NetBSD: cgram.y,v 1.64 2014/04/21 18:57:20 christos Exp $");
 #endif
 
 #include <stdlib.h>
@@ -107,7 +107,7 @@
 #endif
 %}
 
-%expect 71
+%expect 75
 
 %union {
        int     y_int;
@@ -932,7 +932,7 @@
        | notype_direct_decl T_LBRACK constant T_RBRACK {
                $$ = addarray($1, 1, toicon($3, 0));
          }
-       | notype_direct_decl param_list {
+       | notype_direct_decl param_list opt_asm_or_symbolrename {
                $$ = addfunc($1, $2);
                popdecl();
                blklev--;
@@ -965,7 +965,7 @@
        | type_direct_decl T_LBRACK constant T_RBRACK {
                $$ = addarray($1, 1, toicon($3, 0));
          }
-       | type_direct_decl param_list {
+       | type_direct_decl param_list opt_asm_or_symbolrename {
                $$ = addfunc($1, $2);
                popdecl();
                blklev--;
@@ -1002,7 +1002,7 @@
        | direct_param_decl T_LBRACK constant T_RBRACK {
                $$ = addarray($1, 1, toicon($3, 0));
          }
-       | direct_param_decl param_list {
+       | direct_param_decl param_list opt_asm_or_symbolrename {
                $$ = addfunc($1, $2);
                popdecl();
                blklev--;
@@ -1031,7 +1031,7 @@
        | direct_notype_param_decl T_LBRACK constant T_RBRACK {
                $$ = addarray($1, 1, toicon($3, 0));
          }
-       | direct_notype_param_decl param_list {
+       | direct_notype_param_decl param_list opt_asm_or_symbolrename {
                $$ = addfunc($1, $2);
                popdecl();
                blklev--;
@@ -1318,12 +1318,12 @@
        | direct_abs_decl T_LBRACK constant T_RBRACK {
                $$ = addarray($1, 1, toicon($3, 0));
          }
-       | abs_decl_param_list {
+       | abs_decl_param_list opt_asm_or_symbolrename {
                $$ = addfunc(aname(), $1);
                popdecl();
                blklev--;
          }
-       | direct_abs_decl abs_decl_param_list {
+       | direct_abs_decl abs_decl_param_list opt_asm_or_symbolrename {
                $$ = addfunc($1, $2);
                popdecl();
                blklev--;



Home | Main Index | Thread Index | Old Index