summaryrefslogtreecommitdiff
path: root/erts/emulator/utils
diff options
context:
space:
mode:
Diffstat (limited to 'erts/emulator/utils')
-rwxr-xr-xerts/emulator/utils/beam_makeops7
1 files changed, 3 insertions, 4 deletions
diff --git a/erts/emulator/utils/beam_makeops b/erts/emulator/utils/beam_makeops
index 44ff8b47c5..da850ed7cb 100755
--- a/erts/emulator/utils/beam_makeops
+++ b/erts/emulator/utils/beam_makeops
@@ -451,14 +451,13 @@ while (<>) {
}
chomp;
if (s/\\$//) {
- $_ .= <>;
- redo unless eof(ARGV);
+ error("line continuation with `\\` is no longer allowed");
} elsif (/([|]|=>)$/) {
# Automatically continue a line that ends in '|' or '=>'.
my $next_line = <>;
- $_ .= $next_line;
+ $_ .= $next_line;
chomp $next_line;
- redo unless eof(ARGV) or $next_line eq '';
+ redo unless eof(ARGV) or $next_line eq '';
}
next if /^\s*$/;
next if /^\#/;