[jboss-svn-commits] JBL Code SVN: r34895 - labs/jbossrules/branches/DRLv6/src/main/resources.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Thu Aug 26 07:47:17 EDT 2010


Author: dsotty
Date: 2010-08-26 07:47:17 -0400 (Thu, 26 Aug 2010)
New Revision: 34895

Modified:
   labs/jbossrules/branches/DRLv6/src/main/resources/DRLv6Lexer.g
Log:


Modified: labs/jbossrules/branches/DRLv6/src/main/resources/DRLv6Lexer.g
===================================================================
--- labs/jbossrules/branches/DRLv6/src/main/resources/DRLv6Lexer.g	2010-08-26 11:42:54 UTC (rev 34894)
+++ labs/jbossrules/branches/DRLv6/src/main/resources/DRLv6Lexer.g	2010-08-26 11:47:17 UTC (rev 34895)
@@ -518,7 +518,7 @@
   ; 
 
 NAMESPACE
-  : 'namespace'
+  : 'namespace' | 'Namespace'
   ;
 
 NULL  
@@ -774,8 +774,13 @@
 DOUBLE_AMPER
   : '&&'
   ;
+  
+DOUBLE_PLUS
+  : '++'
+  ;  
 
-   
+
+  
 DOUBLE_ANG
   : '<>'  
   ;
@@ -808,6 +813,10 @@
   : '||'
   ;
     
+DOUBLE_SLASH
+  : '//'
+  ;
+    
 DOUBLE_SQUARE_LEFT
   : '[['
   ;
@@ -935,7 +944,7 @@
 */       
         
 C_STYLE_SINGLE_LINE_COMMENT 
-  : '//' (~('\r'|'\n'))* EOL?
+  : '/*' (~('\r'|'\n'))* EOL?
                 { $channel=HIDDEN; }
     ;
 
@@ -952,12 +961,12 @@
   
 PREFIXED_ID 
   : ':' IdentifierStart IdentifierPart*  
-  { state.text = $text.substring(1, $text.length() - 1);  }
+  { state.text = $text.substring(1, $text.length() );  }
   ;  
   
 BLANK_ID
   : '_' IdentifierStart IdentifierPart*  
-  { state.text = $text.substring(1, $text.length() - 1);  }
+  { state.text = $text.substring(1, $text.length() );  }
   ;    
   
 MISC  :



More information about the jboss-svn-commits mailing list