nim: use discard instead of continue in case else
This commit is contained in:
		
							parent
							
								
									a7fe5c186b
								
							
						
					
					
						commit
						1149f8efd1
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -55,7 +55,7 @@ proc tokenize(data: string): seq[Token] =
 | 
			
		|||
    of ',': tokens.add(Read)
 | 
			
		||||
    of '[': tokens.add(LoopStart)
 | 
			
		||||
    of ']': tokens.add(LoopEnd)
 | 
			
		||||
    else:   continue
 | 
			
		||||
    else:   discard
 | 
			
		||||
  return tokens
 | 
			
		||||
 | 
			
		||||
proc parse(tokens: seq[Token], index: int): (seq[Command], int) =
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue