File tree Expand file tree Collapse file tree
src/org/netbeans/modules/css/lib
test/unit/src/org/netbeans/modules/css/lib Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3333 <arg path =" src/org/netbeans/modules/css/lib/Css3.g" />
3434 <classpath >
3535 <pathelement path =" ${ classpath } " />
36- <pathelement location =" ../../ide/libs.antlr3.runtime/external/antlr-complete-3.5.2 .jar" />
36+ <pathelement location =" ../../ide/libs.antlr3.runtime/external/antlr-complete-3.5.3 .jar" />
3737 </classpath >
3838 </java >
3939
Original file line number Diff line number Diff line change @@ -713,11 +713,8 @@ atRuleId
713713 ;
714714
715715generic_at_rule
716- : AT_IDENT ws? ( atRuleId ws? )?
717- LBRACE
718- syncTo_RBRACE
719- RBRACE
720- ;
716+ : AT_IDENT ws ((LBRACE) => braceBlock2 | (componentValue) => componentValue) ((ws (LBRACE | (componentValue) => componentValue)) => (ws ((LBRACE) => braceBlock2 | (componentValue) => componentValue)))* ;
717+
721718moz_document
722719 :
723720 MOZ_DOCUMENT_SYM ws? ( moz_document_function ws?) ( COMMA ws? moz_document_function ws? )*
@@ -899,7 +896,7 @@ declaration
899896 | (cp_mixin_declaration)=> cp_mixin_declaration
900897 | (cp_mixin_call)=> cp_mixin_call (ws? IMPORTANT_SYM)?
901898 | (cp_mixin_call)=> { isScssSource()} ? cp_mixin_call (ws? IMPORTANT_SYM)?
902- | { isCssPreprocessorSource() } ? at_rule
899+ | at_rule
903900 | { isScssSource()} ? sass_control
904901 | { isScssSource()} ? sass_extend
905902 | { isScssSource()} ? sass_debug
@@ -1096,7 +1093,15 @@ preservedToken: ~ (LPAREN | LBRACE | LBRACKET | RPAREN | RBRACE | RBRACKET);
10961093
10971094preservedTokenTopLevel: ~ (LPAREN | LBRACE | LBRACKET | RPAREN | RBRACE | RBRACKET | SEMI );
10981095
1099- braceBlock: LBRACE componentValue+ RBRACE;
1096+ // {} block
1097+ braceBlock2:
1098+ LBRACE ws?
1099+ declarations?
1100+ RBRACE
1101+ ;
1102+
1103+ // simple brace block
1104+ braceBlock: LBRACE componentValue* RBRACE;
11001105
11011106bracketBlock: LBRACKET componentValue+ RBRACKET;
11021107
You can’t perform that action at this time.
0 commit comments