aboutsummaryrefslogtreecommitdiff
path: root/engines/director/lingo
diff options
context:
space:
mode:
Diffstat (limited to 'engines/director/lingo')
-rw-r--r--engines/director/lingo/lingo-gr.cpp2
-rw-r--r--engines/director/lingo/lingo-gr.y2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/director/lingo/lingo-gr.cpp b/engines/director/lingo/lingo-gr.cpp
index aa296ede98..3791239782 100644
--- a/engines/director/lingo/lingo-gr.cpp
+++ b/engines/director/lingo/lingo-gr.cpp
@@ -211,7 +211,7 @@ extern int yyparse();
using namespace Director;
void yyerror(char *s) {
g_lingo->_hadError = true;
- error("%s at line %d col %d", s, g_lingo->_linenumber, g_lingo->_colnumber);
+ warning("%s at line %d col %d", s, g_lingo->_linenumber, g_lingo->_colnumber);
}
diff --git a/engines/director/lingo/lingo-gr.y b/engines/director/lingo/lingo-gr.y
index 4ab7ed3f99..9a10916048 100644
--- a/engines/director/lingo/lingo-gr.y
+++ b/engines/director/lingo/lingo-gr.y
@@ -60,7 +60,7 @@ extern int yyparse();
using namespace Director;
void yyerror(char *s) {
g_lingo->_hadError = true;
- error("%s at line %d col %d", s, g_lingo->_linenumber, g_lingo->_colnumber);
+ warning("%s at line %d col %d", s, g_lingo->_linenumber, g_lingo->_colnumber);
}