Skip to content
This repository has been archived by the owner on Nov 24, 2024. It is now read-only.

Commit

Permalink
Merge pull request #135 from vanshitaverma/main
Browse files Browse the repository at this point in the history
Updating the list of error messages
  • Loading branch information
SaptakBhoumik authored Oct 12, 2022
2 parents 4fbb9f5 + 88a144f commit 375d314
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Peregrine/errors/error.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## List of various error messages

- ``e1``- If the file ends but the compiler was expecting something like a ``'`` , ``"`` , ``)`` etc
- `e1`- If the file ends but the compiler was expecting something like a ``'`` , ``"`` , ``)`` etc.
- `e2`- If the class definition has syntax errors.
- `e3`- If the class contains something other than variables, methods, nested class/union or enum.
- `e4`- If a virtual function is declared outside class.
- `e5`- If there is a syntactical error in the loop.

0 comments on commit 375d314

Please sign in to comment.