From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mo DeJong To: sourcenav@sourceware.cygnus.com Subject: Re: SN Doesn't recognize bool true/false Date: Thu, 05 Apr 2001 23:05:00 -0000 Message-id: References: <5.0.2.1.0.20010404155645.00af6248@plris.com> X-SW-Source: 2001-q2/msg00054.html On Wed, 4 Apr 2001 leonp@plris.com wrote: > Hello, all. > Does anybody know the cause that SN C-parser doesn't recognize > "false" and "true" words (while do recognize "bool")? > Thanks. Because it has not been implemented. Seriously, adding support for this kind of thing is not hard at all, someone just needs to sit down for 20 minutes and actually do it. Why don't you try this patch out and see if it works for you? Index: c_high.l =================================================================== RCS file: /cvs/cvsfiles/devo/snavigator/hyper/c_high.l,v retrieving revision 1.12 diff -u -r1.12 c_high.l --- c_high.l 2001/02/26 00:48:08 1.12 +++ c_high.l 2001/04/06 06:03:26 @@ -145,6 +145,7 @@ else | enum | extern | +false | float | for | friend | @@ -174,6 +175,7 @@ template | this | throw | +true | try | typedef | union | Mo DeJong Red Hat Inc