jayduhon / inferno-os

Automatically exported from code.google.com/p/inferno-os
2 stars 0 forks source link

mk: subexpressions in form \n differ in host os's mk and inferno's mk #288

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Looks like in mkfile rules with regexp (with :R: attribute) handled differently 
by Linux/386/bin/mk and by dis/mk.dis:

- dis/mk.dis correctly handle references to subexpressions in form \n
- Linux/386/bin/mk doesn't handle \n but handle \\n instead

This difference make non-trivial work of writing mkfiles which work both in 
host os and in Inferno even more complicated. :(

Original issue reported on code.google.com by powerman...@gmail.com on 2 Dec 2012 at 7:51