# If block start and end are on different lines, it is formatted as:
# If block start and end are on different lines, it is formatted as:
# Error message
# Error message
@ -76,7 +76,7 @@ class BlockParseException(MesonException):
# Followed by a message saying where the block started.
# Followed by a message saying where the block started.
# Followed by the line of the block start.
# Followed by the line of the block start.
# Followed by a caret for the block start.
# Followed by a caret for the block start.
super().__init__("%s\n%s\n%s\nFor a block that started at %d,%d\n%s\n%s"%(text,line,'%s^'%(''*colno),start_lineno,start_colno,start_line,"%s^"%(''*start_colno)))
MesonException.__init__(self,"%s\n%s\n%s\nFor a block that started at %d,%d\n%s\n%s"%(text,line,'%s^'%(''*colno),start_lineno,start_colno,start_line,"%s^"%(''*start_colno)))