Changeset 158 for trunk


Ignore:
Timestamp:
02/01/11 17:35:08 (14 years ago)
Author:
kdeugau
Message:

/trunk

Extend %define handling to allow underscores. Need to find
out if other non-alphanumerics are also valid.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/debbuild

    r157 r158  
    17201720# should probably stick a "no runaway" flag in here...  Just In Case...
    17211721    # %define's
    1722     while (my ($key) = ($macrostring =~ /%{([a-z0-9]+)}/i) ) {
     1722# note to self: find out valid chars for %define name/label so we can parse them
     1723    while (my ($key) = ($macrostring =~ /%{([a-z0-9_]+)}/i) ) {
    17231724# hrm.  This needs thinking.
    17241725#die "A horrible death!  \%{$key}, '$macrostring'\n" if !$specglobals{$key};
Note: See TracChangeset for help on using the changeset viewer.