Rob Shearman : widl: Turn on verbose errors, which gives a little more information in the case of a syntax error.

Alexandre Julliard julliard at winehq.org
Wed Apr 2 16:36:18 CDT 2008


Module: wine
Branch: master
Commit: f7f31150eea61387be75321cfd98596ad591d386
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=f7f31150eea61387be75321cfd98596ad591d386

Author: Rob Shearman <rob at codeweavers.com>
Date:   Wed Apr  2 12:56:47 2008 +0100

widl: Turn on verbose errors, which gives a little more information in the case of a syntax error.

---

 tools/widl/parser.y |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/tools/widl/parser.y b/tools/widl/parser.y
index 0f22c65..46418a3 100644
--- a/tools/widl/parser.y
+++ b/tools/widl/parser.y
@@ -63,6 +63,8 @@
 # endif
 #endif
 
+#define YYERROR_VERBOSE
+
 unsigned char pointer_default = RPC_FC_UP;
 static int is_object_interface = FALSE;
 




More information about the wine-cvs mailing list