diff options
author | Jörg Mayer <jmayer@loplof.de> | 2013-11-06 22:48:50 +0000 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2013-11-06 22:48:50 +0000 |
commit | 02fe7ff23a82034fdde5d0c1d0c3bd433559ac6a (patch) | |
tree | 7456539e9cb063cef287cd9edc3ce11cc5b7f638 /tools/pidl/idl.yp | |
parent | f9e5c14dde5b06b7a92c31babd0213c7a5a0ebcc (diff) | |
download | wireshark-02fe7ff23a82034fdde5d0c1d0c3bd433559ac6a.tar.gz |
Copy over the current WIP from samba.org::ftp/unpacked/samba_4_0_test/pidl
- As the pidl in Wireshark doesn't work anyway we can just mirror the WIP
so that patches to our code base are against the current code.
svn path=/trunk/; revision=53120
Diffstat (limited to 'tools/pidl/idl.yp')
-rw-r--r-- | tools/pidl/idl.yp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/pidl/idl.yp b/tools/pidl/idl.yp index b5c5185fbe..c8a65f6f62 100644 --- a/tools/pidl/idl.yp +++ b/tools/pidl/idl.yp @@ -610,7 +610,9 @@ again: for ($parser->YYData->{INPUT}) { if (/^\#/) { - if (s/^\# (\d+) \"(.*?)\"( \d+|)//) { + # Linemarker format is described at + # http://gcc.gnu.org/onlinedocs/cpp/Preprocessor-Output.html + if (s/^\# (\d+) \"(.*?)\"(( \d+){1,4}|)//) { $parser->YYData->{LINE} = $1-1; $parser->YYData->{FILE} = $2; goto again; |