Changeset 1760
- Timestamp:
- 11/12/08 03:09:20 (8 weeks ago)
- Files:
-
- 1 modified
-
cobra/trunk/Source/Compiler.cobra (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cobra/trunk/Source/Compiler.cobra
r1759 r1760 1319 1319 if _unknownSuggestions.containsKey(name) 1320 1320 return _unknownSuggestions[name] 1321 else if _unknownSuggestions.containsKey(name.toLower) 1322 return _unknownSuggestions[name.toLower] 1321 1323 else 1322 1324 return nil … … 1360 1362 # literals 1361 1363 'null': 'nil', 1362 'NULL': 'nil', 1363 'None': 'nil', 1364 'Nothing': 'nil', 1364 'none': 'nil', 1365 'nothing': 'nil', 1365 1366 'True': 'true', 1366 1367 'False': 'false', … … 1369 1370 'self': 'this', 1370 1371 'super': 'base', 1372 'elif': 'else if', 1371 1373 1372 1374 # C# 1373 1375 'using': 'use', 1376 'foreach': 'for', 1377 1378 # VisualBasic 1379 'imports': 'use', 1380 'sub': 'def', 1374 1381 1375 1382 # operators (word ones anyway) … … 1382 1389 # statements 1383 1390 'do': 'post while <condition>', 1384 'elif': 'else if',1385 1391 'elseif': 'else if', 1386 'foreach': 'for',1387 'throw': 'raise',1388 1392 1389 1393 # types
