diff options
author | Matthew White <mehw.is.me@inventati.org> | 2017-12-16 19:20:56 (GMT) |
---|---|---|
committer | Matthew White <mehw.is.me@inventati.org> | 2017-12-16 19:30:54 (GMT) |
commit | b11b19badf4ef7318512c28f448dbecd6a47a715 (patch) | |
tree | 980a19eda77880a690275c37b4b2b05beacff1f0 /doc/arch.doc | |
parent | bcc09aa2ba01eff458a00aff853d58ed8213a5da (diff) | |
download | Doxygen-b11b19badf4ef7318512c28f448dbecd6a47a715.zip Doxygen-b11b19badf4ef7318512c28f448dbecd6a47a715.tar.gz Doxygen-b11b19badf4ef7318512c28f448dbecd6a47a715.tar.bz2 |
Fix: perl script regexp to toggle flex debug information
Diffstat (limited to 'doc/arch.doc')
-rw-r--r-- | doc/arch.doc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/arch.doc b/doc/arch.doc index 7a7cd81..618dcca 100644 --- a/doc/arch.doc +++ b/doc/arch.doc @@ -220,12 +220,12 @@ if (open(F,"<src/CMakeFiles/_doxygen.dir/build.make.old")) { } print "Processing build.make...\n"; while (<F>) { - if ( s/flex \$\(LEX_FLAGS\) -P${file}YY/flex \$(LEX_FLAGS) -d -P${file}YY/ ) { - print "Enabling debug info for $file.l\n"; - } - elsif ( s/flex \$\(LEX_FLAGS\) -d -P${file}YY/flex \$(LEX_FLAGS) -P${file}YY/ ) { + if ( s/flex \$\(LEX_FLAGS\) -d(.*) ${file}.l/flex \$(LEX_FLAGS)$1 ${file}.l/ ) { print "Disabling debug info for $file\n"; } + elsif ( s/flex \$\(LEX_FLAGS\)(.*) ${file}.l$/flex \$(LEX_FLAGS) -d$1 ${file}.l/ ) { + print "Enabling debug info for $file.l\n"; + } print G "$_"; } close F; |