s
This commit is contained in:
		
							parent
							
								
									e361e20fcf
								
							
						
					
					
						commit
						9d79f9d77b
					
				| @ -31,7 +31,11 @@ void check_brackets(const char *code) { | ||||
|     if (top == -1) { | ||||
|         printf("All brackets OK\n"); | ||||
|     } else { | ||||
|         printf("Missing closing brackets: %c\n", stack[top -1]); | ||||
|         printf("Missing closing brackets: "); | ||||
|         while (top >= 0) { | ||||
|             printf("%c", stack[top--]);   | ||||
|         } | ||||
|         printf("\n"); | ||||
|     } | ||||
| } | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user