Added missing file

This commit is contained in:
Matthias Koefferlein 2023-07-27 20:54:04 +02:00
parent 83eac6985e
commit 12524b25b1
1 changed files with 12 additions and 0 deletions

12
testdata/lym/m4.rb vendored Normal file
View File

@ -0,0 +1,12 @@
# %include b_inc.lym
begin
puts f
rescue => ex
ln = ex.backtrace[0].split(":")
# NOTE: as the backtrace is a native Ruby feature, include file translation
# does not happen. We need to do this explicitly here:
puts ex.to_s + " in " + RBA::Macro::real_path(ln[0], ln[1].to_i) + ":" + RBA::Macro::real_line(ln[0], ln[1].to_i).to_s
end