Module Name: src Committed By: christos Date: Mon Apr 21 18:57:07 UTC 2014
Modified Files: src/usr.bin/xlint/lint1: scan.l Log Message: fix asm() misclassification To generate a diff of this commit: cvs rdiff -u -r1.57 -r1.58 src/usr.bin/xlint/lint1/scan.l Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/xlint/lint1/scan.l diff -u src/usr.bin/xlint/lint1/scan.l:1.57 src/usr.bin/xlint/lint1/scan.l:1.58 --- src/usr.bin/xlint/lint1/scan.l:1.57 Thu Apr 17 22:41:32 2014 +++ src/usr.bin/xlint/lint1/scan.l Mon Apr 21 14:57:07 2014 @@ -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 @@ static struct kwtab { { "__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 },