preprocess icon indicating copy to clipboard operation
preprocess copied to clipboard

Incorrect recersive #include detection

Open GoogleCodeExporter opened this issue 10 years ago • 1 comments

1. Have the floowing files:
common.sh:
first.sh:
    # #include "common.sh"
second.sh:
    # #include "common.sh"
result.sh:
    # #include "first.sh"
    # #include "second.sh"

2. Try to preprocess the file result.sh:
preprocess: error: detected recursive #include of 'common.sh'





Original issue reported on code.google.com by [email protected] on 21 Aug 2014 at 5:39

GoogleCodeExporter avatar Jun 29 '15 07:06 GoogleCodeExporter

Possible fix has been attached.

Original comment by [email protected] on 21 Aug 2014 at 5:46

Attachments:

GoogleCodeExporter avatar Jun 29 '15 07:06 GoogleCodeExporter