Beispiel #1
0
def initialize(sourceText):
    global scanner

    scanner.initialize(sourceText)
    getChar()
Beispiel #2
0
def getChar():
    global c1, c2, character
    character = scanner.get()
    c1 = character.cargo
    c2 = c1 + scanner.lookahead(1)