report error, CUP
Kada je redefinisem u CUP fajlu (odnosno ovo je samo uzeto iz mini domaceg)
prijava greske izgleda ovako
Sintaksna greska at character XX of input.
XX predstavlja broj, i tacno daje liniju u kojoj se javila greska. Malo
besmisleno.
Pomoc?
public void syntax_error(Symbol cur_token)
{
report_error("\nSintaksna greska", cur_token);
}
prijava greske izgleda ovako
Sintaksna greska at character XX of input.
XX predstavlja broj, i tacno daje liniju u kojoj se javila greska. Malo
besmisleno.
Pomoc?
public void syntax_error(Symbol cur_token)
{
report_error("\nSintaksna greska", cur_token);
}
Previous by date: Re: opet bst implementacija problem
Next by date: i opet taj BST...
Previous by thread: Re: opet bst implementacija problem Next by thread: i opet taj BST...
Previous by thread: Re: opet bst implementacija problem Next by thread: i opet taj BST...