VS build error: invalid text in %token declaration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I have run into a problem trying to compile Ming for Visual Studio 2005.  
When I try to build I get the following error:

1>------ Build started: Project: libming, Configuration: Debug Win32 ------
1>Performing Custom Build Step
1>"f:\ming\src\actioncompiler\swf5compiler.y", line 92: invalid text in  
%token or %nterm declaration


Inspecting the swf5compiler.y file reveals the offending line to be:

	%token EQ "=="

For some reason it doesn't want to accept the second parameter. I tried  
commenting out the line to see if it was isolated, but it appears to have  
a problem with any token containing a quoted string parameter. For example,

	%token FOO "BAR"

Whereas, it accepts:

	%token FOO BAR

or

	%token FOO 'B'

Anybody have an idea why this is the case or what a workaround might be?

Thanks much,

Scott

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ming-users mailing list
Ming-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/ming-users

[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux