Update a1/program.c
This commit is contained in:
		
							parent
							
								
									c553a13140
								
							
						
					
					
						commit
						af3f5afd54
					
				| @ -38,7 +38,7 @@ int main() { | ||||
|             } | ||||
|         } else if (isClosing(current)) { | ||||
|             if (top == -1) { | ||||
|                 printf("Unexpected closing bracket %c in %d.\n", current, i); | ||||
|                 printf("Unexpected closing bracket %c in %d\n", current, i); | ||||
|                 return 0; | ||||
|             } | ||||
|             if (!isMatching(stack[top], current)) { | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user