mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	No longer need to reduce line number by one.
This commit is contained in:
		@@ -361,7 +361,7 @@ command		: assignment TOKEN
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
			$$ = xcalloc(1, sizeof *$$);
 | 
								$$ = xcalloc(1, sizeof *$$);
 | 
				
			||||||
			$$->name = $2;
 | 
								$$->name = $2;
 | 
				
			||||||
			$$->line = ps->input->line - 1;
 | 
								$$->line = ps->input->line;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		| assignment TOKEN arguments
 | 
							| assignment TOKEN arguments
 | 
				
			||||||
@@ -370,7 +370,7 @@ command		: assignment TOKEN
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
			$$ = xcalloc(1, sizeof *$$);
 | 
								$$ = xcalloc(1, sizeof *$$);
 | 
				
			||||||
			$$->name = $2;
 | 
								$$->name = $2;
 | 
				
			||||||
			$$->line = ps->input->line - 1;
 | 
								$$->line = ps->input->line;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			$$->argc = $3.argc;
 | 
								$$->argc = $3.argc;
 | 
				
			||||||
			$$->argv = $3.argv;
 | 
								$$->argv = $3.argv;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user