[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Macros to check for variables, next try
From: |
Paul Eggert |
Subject: |
Re: Macros to check for variables, next try |
Date: |
Mon, 15 Apr 2002 23:00:29 -0700 (PDT) |
> From: Peter Eisentraut <address@hidden>
> Date: Mon, 15 Apr 2002 22:14:44 -0400 (EDT)
> Any ideas out there?
Here's an idea:
In general, require that the user supply both the variable name and
the complete C-language declaration, including the variable name and
trailing semicolon. However, default the variable name to the last
C-language identifier or keyword in the complete declaration; this can
be found with a simple regexp.