update error messages

This commit is contained in:
Mylloon 2022-12-09 13:39:53 +01:00
parent 2d9cc811a2
commit 648d10bc99
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
7 changed files with 7 additions and 7 deletions

View file

@ -1 +1 @@
~
~ # Error on line 1 col 0: Unrecognized char "~".

View file

@ -1 +1 @@
a = 1312;
a = 1312; # Error on line 1 col 2: Unbound variable "a".

View file

@ -1 +1 @@
foo = 1312; # Error on line 1 col 4 : unbound variable 'foo'
foo = 1312; # Error on line 1 col 4: Unbound variable "foo".

View file

@ -1 +1 @@
int foo = bar; # Error on line 1 col 10: unbound variable 'bar'
int foo = bar; # Error on line 1 col 10: Unbound variable "bar".

View file

@ -1,2 +1,2 @@
int foo;
int bar = foo; # Warning on line 2 col 10 : unassigned variable 'foo'
int bar = foo; # Warning on line 2 col 10: Unassigned variable "foo".

View file

@ -1 +1 @@
int foo = true; # Error on line 1 col 10: expected int but given bool
int foo = true; # Error on line 1 col 10: Expected int but given bool.

View file

@ -1,2 +1,2 @@
int foo = 1312;
bool bar = foo; # Error on line 2 col 11: expected bool but given int
bool bar = foo; # Error on line 2 col 11: Expected bool but given int.