Rev 7666 | Rev 7700 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7666 | Rev 7668 | ||
---|---|---|---|
Line 313... | Line 313... | ||
313 | } |
313 | } |
314 | if(i==NUMEXT){ |
314 | if(i==NUMEXT){ |
315 | printf("Bad input file extension '%s'.",rawext); |
315 | printf("Bad input file extension '%s'.",rawext); |
316 | exit(e_badinputfilename); |
316 | exit(e_badinputfilename); |
317 | } |
317 | } |
- | 318 | // Add dirname of the input file to include path. |
|
- | 319 | char *slash_idx = strrchr((char*)rawfilename, DIV_FOLD); |
|
- | 320 | if (slash_idx) { |
|
- | 321 | *slash_idx = '\0'; |
|
- | 322 | IncludePath((char*)rawfilename); |
|
- | 323 | *slash_idx = DIV_FOLD; |
|
- | 324 | } |
|
318 | } |
325 | } |
Line 319... | Line 326... | ||
319 | 326 | ||
320 | void compile() |
327 | void compile() |
321 | { |
328 | { |