March 23, 2013
12:50 p.m.
the following in syntactically valid. May be you pasted a strange character in your method.
anythingElseBoolean = false ifFalse: [ doctypeString := reader next: 6. doctypeString asLowercase = 'public' ifTrue: [ AfterDOCTYPEPublicKeywordState value: currentCharacter ] ]
Now I think that building a HTML parser by hand in 2012 is a strange exercise when there are compiler compiler or cool framework for parsing like PetitParser. Stef