Skip to content

Commit

Permalink
Fixed error message
Browse files Browse the repository at this point in the history
  • Loading branch information
ragusaa committed Apr 5, 2024
1 parent 0c2153f commit a7eb4fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clambcc/clambc-compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ def getInputSourceFileName(outputFileName: str) -> str:
def getOptimizedTmpFileName(linkedFile: str) -> str:
idx = linkedFile.find(LINKED_BYTECODE_FILE_EXTENSION)
if -1 == idx:
die("getLinkedFileName called with invalid input", 2)
die("getOptimizedTmpFileName called with invalid input", 2)

return f"{linkedFile[0:idx]}{OPTIMIZED_TMP_BYTECODE_FILE_EXTENSION}"

Expand Down

0 comments on commit a7eb4fd

Please sign in to comment.