mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 19:22:45 +00:00 
			
		
		
		
	Everywhere: Add break after the last case label before default
				
					
				
			We already do this in most places, so the style should be consistent. Also, Clang does not like it, as this could cause an unexpected compile error if some statements are added to the default label or a new label is added above it.
This commit is contained in:
		
							parent
							
								
									b0208ce433
								
							
						
					
					
						commit
						98a9a1d7f9
					
				
					 7 changed files with 7 additions and 1 deletions
				
			
		|  | @ -165,6 +165,7 @@ int main() | |||
|                 break; | ||||
|             case SQL::AST::TokenCategory::Identifier: | ||||
|                 editor.stylize({ start, end }, { Line::Style::Foreground(Line::Style::XtermColor::White), Line::Style::Bold }); | ||||
|                 break; | ||||
|             default: | ||||
|                 break; | ||||
|             } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Daniel Bertalan
						Daniel Bertalan