Make WARN output a warning instead of an error

This is the expected behaviour.

Signed-off-by: Antonio Niño Díaz <antonio_nd@outlook.com>
This commit is contained in:
Antonio Niño Díaz
2017-04-08 18:09:02 +01:00
parent 540f8597d4
commit 77546e9c58

View File

@@ -681,7 +681,7 @@ fail : T_POP_FAIL string {
};
warn : T_POP_WARN string {
yyerror("%s", $2);
warning("%s", $2);
};
shift : T_POP_SHIFT