QuTech-Delft / libqasm

libQASM: Library to parse cQASM files
https://arxiv.org/abs/1805.09607
Other
15 stars 16 forks source link

Fix issue #200 #201

Closed rturrado closed 3 months ago

rturrado commented 3 months ago

When EOF is the offendingSymbol in CustomErrorListener::syntaxError, just return a size of 0.

Until now, we were returning a size of the text associated to the EOF token, which happens to be "<EOF>".

As part of this PR, I've also taken the opportunity to update the versions of some GitHub Actions. That should remove some GitHub Actions warnings.