www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/11/09:35:02

From: kroll AT diku DOT dk (Mikkel R. Jakobsen)
Newsgroups: comp.os.msdos.djgpp
Subject: how to make caseinsensitive terminals in flex?
Date: 11 Oct 1996 12:15:22 GMT
Organization: Department of Computer Science, U of Copenhagen
Lines: 16
Sender: kroll AT ask DOT diku DOT dk
Message-ID: <53ldoq$m3j@vidar.diku.dk>
NNTP-Posting-Host: ask.diku.dk
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I am using bison and flex to make a language for a game. When defining
the terminal symbols in flex, I can't figure out how to make them
case insensitive. That is, if I define

hello		{ return(HELLO); }

my grammar won't recognize "HeLLo". How can I avoid this case sensitivity?


Mikkel.
(Check the webpage for my game at: http://www.diku.dk/students/virtual/)
-- 
+---------------------------------------------------------------------------+
|                    Mikkel Jakobsen  --  kroll AT diku DOT dk			    |
|       Dept. of Computer Science, University of Copenhagen in Denmark	    |
| The Super JV Homepage  --  http://www.diku.dk/students/kroll/superjv.html |

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019