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 fix asm() misclassification



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

description:
fix asm() misclassification

diffstat:

 usr.bin/xlint/lint1/scan.l |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 68d54f7f036e -r cf173dc9ae82 usr.bin/xlint/lint1/scan.l
--- a/usr.bin/xlint/lint1/scan.l        Mon Apr 21 18:26:51 2014 +0000
+++ b/usr.bin/xlint/lint1/scan.l        Mon Apr 21 18:57:07 2014 +0000
@@ -1,5 +1,5 @@
 %{
-/* $NetBSD: scan.l,v 1.57 2014/04/18 02:41:32 christos Exp $ */
+/* $NetBSD: scan.l,v 1.58 2014/04/21 18:57:07 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: scan.l,v 1.57 2014/04/18 02:41:32 christos Exp $");
+__RCSID("$NetBSD: scan.l,v 1.58 2014/04/21 18:57:07 christos Exp $");
 #endif
 
 #include <stdlib.h>
@@ -227,7 +227,7 @@
        { "__pure__",   T_AT_PURE,      0,      0,      0,        0, 0, 1, 1 },
        { "noreturn",   T_AT_NORETURN,  0,      0,      0,        0, 0, 1, 1 },
        { "__noreturn__",T_AT_NORETURN, 0,      0,      0,        0, 0, 1, 1 },
-       { "asm",        T_ASM,          0,      0,      0,        0, 0, 1, 1 },
+       { "asm",        T_ASM,          0,      0,      0,        0, 0, 1, 0 },
        { "__asm",      T_ASM,          0,      0,      0,        0, 0, 0, 0 },
        { "__asm__",    T_ASM,          0,      0,      0,        0, 0, 0, 0 },
        { "auto",       T_SCLASS,       AUTO,   0,      0,        0, 0, 0, 0 },



Home | Main Index | Thread Index | Old Index