tilde paths: The rest of the string has to start with a slash anyway
This commit is contained in:
		
							parent
							
								
									e3e38a048e
								
							
						
					
					
						commit
						c4653afbcd
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -376,7 +376,7 @@ expr_simple | |||
|       $$ = stripIndentation(CUR_POS, data->symbols, *$2); | ||||
|   } | ||||
|   | PATH { $$ = new ExprPath(absPath($1, data->basePath)); } | ||||
|   | HPATH { $$ = new ExprPath(getEnv("HOME", "/") + string{$1 + 1}); } | ||||
|   | HPATH { $$ = new ExprPath(getEnv("HOME", "") + string{$1 + 1}); } | ||||
|   | SPATH { | ||||
|       string path($1 + 1, strlen($1) - 2); | ||||
|       $$ = new ExprApp(CUR_POS, | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue