got rid of nstrtabs and nhashes modules
This commit is contained in:
parent
988de05707
commit
922e216b86
20 changed files with 57 additions and 362 deletions
|
|
@ -14,7 +14,7 @@
|
|||
# be slow and unreadable.
|
||||
|
||||
import
|
||||
nhashes, strutils, idents
|
||||
hashes, strutils, idents
|
||||
|
||||
# Keywords must be kept sorted and within a range
|
||||
|
||||
|
|
@ -124,6 +124,6 @@ proc whichKeyword*(id: String): TSpecialWord =
|
|||
proc initSpecials() =
|
||||
# initialize the keywords:
|
||||
for s in countup(succ(low(specialWords)), high(specialWords)):
|
||||
getIdent(specialWords[s], getNormalizedHash(specialWords[s])).id = ord(s)
|
||||
getIdent(specialWords[s], hashIgnoreStyle(specialWords[s])).id = ord(s)
|
||||
|
||||
initSpecials()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue