mirror of
https://github.com/holub/mame
synced 2025-06-03 11:26:56 +03:00
complay: spaces instead of tabs for indentation? (nw)
This commit is contained in:
parent
5ec1befa63
commit
465f5d42aa
@ -461,12 +461,12 @@ class LayoutChecker(Minifyer):
|
||||
self.handleError('Element %s has attribute inputmask "%s" is zero' % (name, attrs['inputmask']))
|
||||
inputraw = self.checkIntAttribute(name, attrs, 'inputraw', None)
|
||||
if (inputraw is not None):
|
||||
if 'inputmask' not in attrs:
|
||||
self.handleError('Element %s has inputraw attribute without inputmask attribute' % (name, ))
|
||||
if 'inputtag' not in attrs:
|
||||
self.handleError('Element %s has inputraw attribute without inputtag attribute' % (name, ))
|
||||
if ((0 > inputraw) or (1 < inputraw)):
|
||||
self.handleError('Element %s attribute inputraw "%s" not in valid range 0-1' % (name, attrs['inputraw']))
|
||||
if 'inputmask' not in attrs:
|
||||
self.handleError('Element %s has inputraw attribute without inputmask attribute' % (name, ))
|
||||
if 'inputtag' not in attrs:
|
||||
self.handleError('Element %s has inputraw attribute without inputtag attribute' % (name, ))
|
||||
if ((0 > inputraw) or (1 < inputraw)):
|
||||
self.handleError('Element %s attribute inputraw "%s" not in valid range 0-1' % (name, attrs['inputraw']))
|
||||
self.handlers.append((self.objectStartHandler, self.objectEndHandler))
|
||||
self.have_bounds.append(False)
|
||||
self.have_orientation.append(False)
|
||||
|
Loading…
Reference in New Issue
Block a user