mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-07-03 23:11:49 +00:00
[client] egl: handle \r character when processing #includes
This commit is contained in:
parent
9f4afcd944
commit
c1a362f8d3
2 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
BEGIN { FS="\"" }
|
||||
|
||||
function process(line, second) {
|
||||
if (line ~ /^#include[ \t]*".+"[ \t]*$/) {
|
||||
if (line ~ /^#include[ \t]*".+"[ \t\r]*$/) {
|
||||
while (getline < second) {
|
||||
process($0, $2)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue