xtuml/load.py
def p_cardinality_many(self, p):
        '''cardinality : ID'''
        if p[1] not in ['M', 'MC']:
            raise ParsingException("illegal cardinality (%s) at %s:%d" % (p[1],
                                   p.lexer.filename, p.lineno(1)))
        p[0] = p[1]
def p_cardinality_many(self, p):
        '''cardinality : ID'''
        if p[1] not in ['M', 'MC']:
            raise ParsingException("illegal cardinality (%s) at %s:%d" % (p[1],
                                   p.lexer.filename, p.lineno(1)))
        p[0] = p[1]
def p_cardinality_many ( self , p ) : if p [ 1 ] not in [ 'M' , 'MC' ] : raise ParsingException ( "illegal cardinality (%s) at %s:%d" % ( p [ 1 ] , p . lexer . filename , p . lineno ( 1 ) ) ) p [ 0 ] = p [ 1 ]
cardinality : ID
cardinality : ID