Additional doc fixes.

This commit is contained in:
Maggie Mari 2012-08-20 17:11:26 -05:00
commit c7cbebab7b
5 changed files with 176 additions and 150 deletions

View file

@ -909,8 +909,8 @@ Lexer
return not self == other
# Regular expressions that tokens and comments of our language.
REGEX_NUMBER = re.compile('[0-9]+(?:.[0-9]+)?')
REGEX_IDENTIFIER = re.compile('[a-zA-Z][a-zA-Z0-9]\ *')
REGEX_NUMBER = re.compile('[0-9]+(?:\.[0-9]+)?')
REGEX_IDENTIFIER = re.compile('[a-zA-Z][a-zA-Z0-9]*')
REGEX_COMMENT = re.compile('#.*')
def Tokenize(string):