* Added a list concatenation operator:
[1 2 3] ++ [4 5 6] => [1 2 3 4 5 6]
This commit is contained in:
		
							parent
							
								
									e6899794ae
								
							
						
					
					
						commit
						991a130b1e
					
				
					 8 changed files with 29 additions and 12 deletions
				
			
		|  | @ -59,6 +59,7 @@ inherit     { return INHERIT; } | |||
| \|\|        { return OR; } | ||||
| \-\>        { return IMPL; } | ||||
| \/\/        { return UPDATE; } | ||||
| \+\+        { return CONCAT; } | ||||
| 
 | ||||
| {ID}        { yylval->t = ATmake("<str>", yytext); return ID; /* !!! alloc */ } | ||||
| {INT}       { int n = atoi(yytext); /* !!! overflow */ | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue