mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-30 05:42:37 +00:00 
			
		
		
		
	Everywhere: Debug macros instead of constexpr.
This was done with the following script:
    find . \( -name '*.cpp' -o -name '*.h' -o -name '*.in' \) -not -path './Toolchain/*' -not -path './Build/*' -exec sed -i -E 's/dbgln<debug_([a-z_]+)>/dbgln<\U\1_DEBUG>/' {} \;
    find . \( -name '*.cpp' -o -name '*.h' -o -name '*.in' \) -not -path './Toolchain/*' -not -path './Build/*' -exec sed -i -E 's/if constexpr \(debug_([a-z0-9_]+)/if constexpr \(\U\1_DEBUG/' {} \;
			
			
This commit is contained in:
		
							parent
							
								
									bb483f7ef4
								
							
						
					
					
						commit
						8465683dcf
					
				
					 98 changed files with 414 additions and 972 deletions
				
			
		|  | @ -141,7 +141,7 @@ void HTMLDocumentParser::run(const URL& url) | |||
|             break; | ||||
|         auto& token = optional_token.value(); | ||||
| 
 | ||||
|         dbgln<debug_parser>("[{}] {}", insertion_mode_name(), token.to_string()); | ||||
|         dbgln<PARSER_DEBUG>("[{}] {}", insertion_mode_name(), token.to_string()); | ||||
| 
 | ||||
|         // FIXME: If the adjusted current node is a MathML text integration point and the token is a start tag whose tag name is neither "mglyph" nor "malignmark"
 | ||||
|         // FIXME: If the adjusted current node is a MathML text integration point and the token is a character token
 | ||||
|  | @ -157,7 +157,7 @@ void HTMLDocumentParser::run(const URL& url) | |||
|         } | ||||
| 
 | ||||
|         if (m_stop_parsing) { | ||||
|             dbgln<debug_parser>("Stop parsing{}! :^)", m_parsing_fragment ? " fragment" : ""); | ||||
|             dbgln<PARSER_DEBUG>("Stop parsing{}! :^)", m_parsing_fragment ? " fragment" : ""); | ||||
|             break; | ||||
|         } | ||||
|     } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 asynts
						asynts