• Rob Shearman's avatar
    wpp: Fix expansion of macro bodies following the parsing of a numerical digit. · 3fecf9dd
    Rob Shearman authored
    The current regular expression causes all letters and spaces (among
    other characters) following the appearance of a digit to be classed as
    a literal, including C identifiers which may need to be expanded.
    
    The expression was intended to catch the remaining characters that
    were not covered by the first two rules ([^a-zA-Z0-9'"#/\\\n]+ and
    {cident}), but the [^'"#/\\\n] expression caught {cident} as well.
    While one solution would have been just to catch the expression that
    match [a-zA-Z0-9]* that don't match {cident}, i.e. [0-9][a-zA-Z0-9]*,
    in the interests of avoiding unnecessary multiple LITERALs being
    generated and then combined during parsing the expression also
    includes the first expression, making it
    [0-9][a-zA-Z0-9]*[^a-zA-Z0-9'"#/\\\n]*.
    3fecf9dd
Name
Last commit
Last update
dlls Loading commit data...
documentation Loading commit data...
fonts Loading commit data...
include Loading commit data...
libs Loading commit data...
loader Loading commit data...
programs Loading commit data...
server Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
ANNOUNCE Loading commit data...
AUTHORS Loading commit data...
COPYING.LIB Loading commit data...
LICENSE Loading commit data...
LICENSE.OLD Loading commit data...
Make.rules.in Loading commit data...
Makefile.in Loading commit data...
README Loading commit data...
VERSION Loading commit data...
aclocal.m4 Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...