delorie.com/archives/browse.cgi | search |
From: | Gary R Sekinger <sekinger+@andrew.cmu.edu> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | flex/bison lower/upper case question |
Date: | Fri, 9 May 1997 20:45:00 -0400 |
Organization: | Masters student, Software Engineering, Carnegie Mellon, Pittsburgh, PA |
Lines: | 25 |
Message-ID: | <onQwIAK00iWQADCEpw@andrew.cmu.edu> |
NNTP-Posting-Host: | po7.andrew.cmu.edu |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
I'd like to have my grammar be case insensitive but this doesn't seem very easy. I've started specifying all the various combinations, which isn't very practical: SEED {return SEED;} Seed {return SEED;} seed {return SEED;} Is there an easy way to do this? I have the Lex & Yacc book by O'Reilly but would love to look at other example grammars. Any suggestions of grammars out there in the public domain? tia, Gary Sekinger ps. Im using: E:\WINDOWS>flex --version c:/djgpp/bin/flex.exe version 2.5.2 E:\WINDOWS>bison --version GNU Bison version 1.24
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |