delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/16/23:04:41

From: Erik Max Francis <max AT alcyone DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: yet another bison question
Date: Fri, 16 May 1997 18:57:02 -0700
Organization: Alcyone Systems
Lines: 18
Message-ID: <337D106E.2B892022@alcyone.com>
References: <cnT9j5G00WBLE3fkpZ AT andrew DOT cmu DOT edu>
NNTP-Posting-Host: newton.alcyone.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Gary R Sekinger wrote:

> My problem is that I don't want to impose an order on the statements
> within the block. I could use brute force and specify all 362880 (9!)
> permeation's, but that method would really suck! A second idea was to
> make all of the statements optional and then at the "EndGeneralBlock"
> token check to make sure that they were all specified, but this also
> seems like a hack.

This is the standard way of doing such things.

-- 
       Erik Max Francis, &tSftDotIotE / email / max AT alcyone DOT com
                     Alcyone Systems /   web / http://www.alcyone.com/max/
San Jose, California, United States /  icbm / 37 20 07 N  121 53 38 W
                                   \
                      "The future / is right there."
                                 / Bill Moyers

- Raw text -


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