• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mknos / PerlPowerTools / 6517756191
76%
master: 62%

Build:
Build:
LAST BUILD BRANCH: head-nplus
DEFAULT BRANCH: master
Ran 14 Oct 2023 12:58PM UTC
Jobs 1
Files 4
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

14 Oct 2023 12:49PM UTC coverage: 75.734%. Remained the same
6517756191

push

github

web-flow
bc: runtime error eats too much input

* In interactive bc, calling an undefined function does not cause a fatal error but an error is printed
* YYERROR() is called in this situation, but it seems to break something
* It appears that input tokens past the end of current statement are eaten by YYERROR
* I observed this:

ME> x = hey(1) + 2
BC> No function hey() has been defined
ME> x
ME> x
BC> 0
ME> quit

* After the error bc ignores the first time I type x (but when I ask again it politely answers)
* Replacing YYERROR with "last INSTR" causes bc to jump past the final instruction in the current statement
* Instructions in the subsequent statement are not destroyed
* With this patch, the statement after the error is executed as I expect (this matches GNU bc)

ME> x = 5
BC> 5
ME> y = heh(6) + 7
BC> No function heh() has been defined
ME> x
BC> 5
ME> y
BC> 0
ME> quit

387 of 511 relevant lines covered (75.73%)

4407.74 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6517756191.1 14 Oct 2023 12:58PM UTC 0
75.73
GitHub Action Run
Source Files on build 6517756191
Detailed source file information is not available for this build.
  • Back to Repo
  • 6cf6f825 on github
  • Prev Build on master (#6509753990)
  • Next Build on bc-unknown-func (#6517756193)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc