Fix lexer to support $' in multiline strings.
				
					
				
			This commit is contained in:
		
							parent
							
								
									2f21d522c2
								
							
						
					
					
						commit
						a474425425
					
				
					 3 changed files with 12 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -160,7 +160,8 @@ or          { return OR_KW; }
 | 
			
		|||
                   yylval->e = new ExprIndStr(yytext);
 | 
			
		||||
                   return IND_STR;
 | 
			
		||||
                 }
 | 
			
		||||
<IND_STRING>\'\'\$ {
 | 
			
		||||
<IND_STRING>\'\'\$ |
 | 
			
		||||
<IND_STRING>\$   {
 | 
			
		||||
                   yylval->e = new ExprIndStr("$");
 | 
			
		||||
                   return IND_STR;
 | 
			
		||||
                 }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue