aboutsummaryrefslogtreecommitdiff
path: root/frontend
diff options
context:
space:
mode:
Diffstat (limited to 'frontend')
-rw-r--r--frontend/scanner.icl1
1 files changed, 1 insertions, 0 deletions
diff --git a/frontend/scanner.icl b/frontend/scanner.icl
index c54952f..1d579da 100644
--- a/frontend/scanner.icl
+++ b/frontend/scanner.icl
@@ -382,6 +382,7 @@ ScanComment input
# (eof2, c2, input) = ReadChar input
| eof2 = (Yes "end of file encountered inside comment", input)
| c2 == '/' = (No, input)
+ | c2 == '*' = ScanComment (charBack input)
= ScanComment input
| otherwise = ScanComment input