m5-c-style.el revision 81
181Sstever@eecs.umich.edu; Copyright (c) 2003 The Regents of The University of Michigan 281Sstever@eecs.umich.edu; All rights reserved. 381Sstever@eecs.umich.edu; 481Sstever@eecs.umich.edu; Redistribution and use in source and binary forms, with or without 581Sstever@eecs.umich.edu; modification, are permitted provided that the following conditions are 681Sstever@eecs.umich.edu; met: redistributions of source code must retain the above copyright 781Sstever@eecs.umich.edu; notice, this list of conditions and the following disclaimer; 881Sstever@eecs.umich.edu; redistributions in binary form must reproduce the above copyright 981Sstever@eecs.umich.edu; notice, this list of conditions and the following disclaimer in the 1081Sstever@eecs.umich.edu; documentation and/or other materials provided with the distribution; 1181Sstever@eecs.umich.edu; neither the name of the copyright holders nor the names of its 1281Sstever@eecs.umich.edu; contributors may be used to endorse or promote products derived from 1381Sstever@eecs.umich.edu; this software without specific prior written permission. 1481Sstever@eecs.umich.edu; 1581Sstever@eecs.umich.edu; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 1681Sstever@eecs.umich.edu; "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 1781Sstever@eecs.umich.edu; LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 1881Sstever@eecs.umich.edu; A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 1981Sstever@eecs.umich.edu; OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 2081Sstever@eecs.umich.edu; SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 2181Sstever@eecs.umich.edu; LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 2281Sstever@eecs.umich.edu; DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 2381Sstever@eecs.umich.edu; THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 2481Sstever@eecs.umich.edu; (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 2581Sstever@eecs.umich.edu; OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 2681Sstever@eecs.umich.edu; 2781Sstever@eecs.umich.edu; Authors: Nathan Binkert 2881Sstever@eecs.umich.edu; Steve Reinhardt 2981Sstever@eecs.umich.edu 3081Sstever@eecs.umich.edu(c-add-style "m5" 3181Sstever@eecs.umich.edu '((c-basic-offset . 4) 3281Sstever@eecs.umich.edu (c-offsets-alist . ((substatement-open . 0) 3381Sstever@eecs.umich.edu (inline-open . 0) 3481Sstever@eecs.umich.edu (block-open . -4) 3581Sstever@eecs.umich.edu (case-label . 2) 3681Sstever@eecs.umich.edu (label . 2) 3781Sstever@eecs.umich.edu (statement-case-intro . 2) 3881Sstever@eecs.umich.edu (statement-case-open . 2) 3981Sstever@eecs.umich.edu (access-label . -2))))) 40