  | 
	
	
	
		ReedN Wizard
 
  Joined: 04 Jan 2006 Posts: 1279 Location: Portland, Oregon
  | 
		
		  
			
			   Posted: Sat Mar 21, 2009 7:31 pm   
  [3.05] Check Syntax not recognizing a local variable definition   | 
			 
			
				Procedure:
 
1) Open Cmud, press escape to enter a blank session
 
2) Paste XML code below into the root of the blank session
 
3) Enter the lone trigger and select Editor->Check_Syntax or CTRL-K
 
 
You will get the message:
 
invalid local variable: player at row 1 col 12.
 
 
Even though you get this message, it is properly defined as seen by the fact that you can execute it and it works just fine.
 
 
XML Code:
 
 
	  | Code: | 
	 
	
	  
 
<?xml version="1.0" encoding="ISO-8859-1" ?>
 
<cmud>
 
  <class name="test3" copy="yes">
 
    <trigger priority="150" case="true" regex="true" copy="yes">
 
      <pattern>^($player:[A-Z][a-z]+) hello</pattern>
 
      <value>#say hello $player</value>
 
    </trigger>
 
  </class>
 
</cmud>
 
 | 
	 
 
 | 
			 
		  | 
	
	
	  | 
		  
		 | 
	
	
		  | 
	
	
		Tech GURU
  
  Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
  | 
		
		  
			
			   Posted: Sun Mar 22, 2009 5:08 am      | 
			 
			
				Confirmed.
  | 
			 
		  | 
	
	
	  
		  
		    
			  _________________ Asati di tempari! | 
			       | 
			 
		   
		 | 
	
	
		  | 
	
	
		Zugg MASTER
  
  Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
  | 
		
		  
			
			   Posted: Mon Mar 23, 2009 5:01 pm      | 
			 
			
				Confirmed and added to bug list.
  | 
			 
		  | 
	
	
	  | 
		  
		 | 
	
	
		  | 
	
	
		ReedN Wizard
 
  Joined: 04 Jan 2006 Posts: 1279 Location: Portland, Oregon
  | 
		
		  
			
			   Posted: Sat Apr 18, 2009 4:25 pm      | 
			 
			
				The bug still exists in version 3.06.  The original bug procedure still demonstrates the bug.
  | 
			 
		  | 
	
	
	  | 
		  
		 | 
	
	
		  | 
	
	
		mr_kent Enchanter
 
  Joined: 10 Oct 2000 Posts: 698
 
  | 
		
		  
			
			   Posted: Sat Apr 18, 2009 6:21 pm      | 
			 
			
				It might help Zugg if the titles were changed on these specific problems that remain from 3.05 to 3.06. Then again, it may not. I just thought I'd offer this suggestion to maybe allow the fixed bugs/posts to drift away while keeping known issues prominent.
  | 
			 
		  | 
	
	
	  | 
		  
		 | 
	
	
		  | 
	
	
		mr_kent Enchanter
 
  Joined: 10 Oct 2000 Posts: 698
 
  | 
		
		  
			
			   Posted: Sat Apr 18, 2009 6:31 pm      | 
			 
			
				Ack! I guess putting a "*FIXED*" tag on the resolved issues would be better. 
 
 
And I didn't realize you had a list in another post. Great job ReedN!
 
Now please ignore my sillyness. | 
			 
		  | 
	
	
	  | 
		  
		 | 
	
	
		  | 
	
	
		Zugg MASTER
  
  Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
  | 
		
		  
			
			   Posted: Mon Apr 20, 2009 5:26 pm      | 
			 
			
				Still on the bug list.
  | 
			 
		  | 
	
	
	  | 
		  
		 | 
	
	
		  | 
	
	
		| 
		
		 | 
	
	
		 |