compiler prepared for the new comment handling
This commit is contained in:
parent
d438ecc246
commit
bd705a517f
8 changed files with 17 additions and 4 deletions
|
|
@ -593,6 +593,7 @@ proc genStringCase(p: BProc, t: PNode, d: var TLoc) =
|
|||
else:
|
||||
# else statement: nothing to do yet
|
||||
# but we reserved a label, which we use later
|
||||
discard
|
||||
linefmt(p, cpsStmts, "switch (#hashString($1) & $2) {$n",
|
||||
rdLoc(a), toRope(bitMask))
|
||||
for j in countup(0, high(branches)):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue