 		}
 		if currentChar.isTerminator() {
 			print("End of literal found")
+			//newToken = Token(location, Terminal.INTVAL32)
 			currentState = .InitialState
 		} else {
 			currentState = .ErrorState(description: "Fuck! Illegal after literal!")

class ScannerStateMachine {
	
	var contentChars: [Character]? = nil
	
	var currentState: ScannerState = .InitialState {
		didSet {

import Foundation

class Token {
	var location: (startPos: Int, endPos: Int)
	var terminal: Terminal
	
	init(location: (startPos: Int, endPos: Int), terminal: Terminal) {
		self.location = location
		self.terminal = terminal
	}
