mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 13:41:03 +00:00 
			
		
		
		
	 03ea77407c
			
		
	
	
		03ea77407c
		
			
		
	
	
	
	
		
			
			- Allow identifiers similar to keywords if they are in ASCII range. - Allow constants to be treated as regular identifiers. - Allow keywords that can be used as identifiers in expressions.
		
			
				
	
	
		
			12 lines
		
	
	
	
		
			320 B
		
	
	
	
		
			GDScript
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
	
		
			320 B
		
	
	
	
		
			GDScript
		
	
	
	
	
	
| extends Node
 | ||
| 
 | ||
| func test():
 | ||
| 	var port = 0 # Only latin characters.
 | ||
| 	var pοrt = 1 # The "ο" is Greek omicron.
 | ||
| 
 | ||
| 	prints(port, pοrt)
 | ||
| 
 | ||
| # Do not call this since nodes aren't in the tree. It is just a parser check.
 | ||
| func nodes():
 | ||
| 	var _node1 = $port # Only latin characters.
 | ||
| 	var _node2 = $pοrt # The "ο" is Greek omicron.
 |