[hg] releases: new grammar - fixed skip_balanced_Curl

  • From: Nikolay Krasilnikov < >
  • To:
  • Subject: [hg] releases: new grammar - fixed skip_balanced_Curl
  • Date: Fri, 01 Feb 2013 11:09:50 -0800

changeset 85ee580f73f6 in releases ((none))
details: http://hg.netbeans.org/releases/rev/85ee580f73f6
description:
        new grammar - fixed skip_balanced_Curl

diffstat:

 cnd.modelimpl/src/org/netbeans/modules/cnd/modelimpl/parser/CXXParser.g |  2 
+-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff --git 
a/cnd.modelimpl/src/org/netbeans/modules/cnd/modelimpl/parser/CXXParser.g 
b/cnd.modelimpl/src/org/netbeans/modules/cnd/modelimpl/parser/CXXParser.g
--- a/cnd.modelimpl/src/org/netbeans/modules/cnd/modelimpl/parser/CXXParser.g
+++ b/cnd.modelimpl/src/org/netbeans/modules/cnd/modelimpl/parser/CXXParser.g
@@ -2680,7 +2680,7 @@
             :
             LCURLY                                                           
   {if(state.backtracking == 0){action.skip_balanced_curlies(input.LT(0));}}
             (options {greedy=false;}:
-                skip_balanced_Curl | .                                       
   {if(state.backtracking == 0){action.skip_balanced_curlies(input.LT(0));}}
+                skip_balanced_Curl | ~(RCURLY | LCURLY)                      
                    {if(state.backtracking == 
0){action.skip_balanced_curlies(input.LT(0));}}
             )*
             RCURLY                                                           
   {if(state.backtracking == 0){action.skip_balanced_curlies(input.LT(0));}}
         ;

[hg] releases: new grammar - fixed skip_balanced_Curl

Nikolay Krasilnikov 02/01/2013

Project Features

About this Project

CND was started in November 2009, is owned by DimaZh, and has 131 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close