Changeset 1574 for cobra/trunk/Source/CobraParser.cobra
- Timestamp:
- 08/12/08 23:46:19 (5 months ago)
- Files:
-
- 1 modified
-
cobra/trunk/Source/CobraParser.cobra (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cobra/trunk/Source/CobraParser.cobra
r1573 r1574 220 220 .throwError(te.token, msg) 221 221 222 # TODO: fold all occcurrences of this lookup to a helper 223 compiler = .typeProvider to? Compiler 224 if compiler, compiler.noWarningLines = tokenizer.noWarningLines 225 222 226 if tokenizer.errors.count 223 227 for error in tokenizer.errors 224 228 .recordError(error.token, error.message) 225 229 226 230 _nextTokenIndex = 0 227 231 … … 549 553 .throwError('Compiler directive "number": unrecognized type "[typeName.text]". Must be one of "decimal", "float", "float32" or "float64".') 550 554 .expect('EOL') 551 comp = .typeProvider to Compiler?555 comp = .typeProvider to? Compiler 552 556 if comp, comp.numberTypeName = typeName.text 553 557 else
