Lexer doesn't need a name
This commit is contained in:
		
							parent
							
								
									0f04fa41e8
								
							
						
					
					
						commit
						2e6cafb1cb
					
				| @ -60,7 +60,7 @@ const ( | |||||||
| ) | ) | ||||||
| 
 | 
 | ||||||
| // lex creates a new scanner for the input string. | // lex creates a new scanner for the input string. | ||||||
| func New(name, input string) *Lexer { | func New(input string) *Lexer { | ||||||
| 	l := &Lexer{ | 	l := &Lexer{ | ||||||
| 		input: input, | 		input: input, | ||||||
| 		items: make(chan Item), | 		items: make(chan Item), | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user