Skip to content

Generalized 'No such file or directory handling' #31

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 29, 2020
Merged

Conversation

kittaakos
Copy link
Contributor

  • Removed the .h literally match from the regexp.
  • Let the submatch handle the .h suffix.

To handle both types of error messages:

  • Alma.h: No such file or directory and
  • chrono: No such file or directory.

Examples:

#include "Alma.h"
void setup() { }
void loop() { }

Screen Shot 2020-07-28 at 18 31 47

#include <chrono>
void setup() { }
void loop() { }

Screen Shot 2020-07-28 at 18 33 39

Closes #30.

Signed-off-by: Akos Kitta [email protected]

@kittaakos kittaakos requested a review from spoenemann July 28, 2020 16:34
 - Removed the `.h` literally match from the regexp.
 - Let the submatch handle the `.h` suffix.

Closes #30.

Signed-off-by: Akos Kitta <[email protected]>
@kittaakos kittaakos merged commit 50e988f into master Jul 29, 2020
@kittaakos kittaakos deleted the GH-30 branch July 29, 2020 07:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

LS crashes due to panic, it triggers an LS restart, the LS crashes due to a panic...
2 participants