Skip to content
This repository has been archived by the owner on Jun 9, 2018. It is now read-only.

Commit

Permalink
pathname must be be escaped
Browse files Browse the repository at this point in the history
(backslash on Windows)
  • Loading branch information
fperrad committed May 21, 2009
1 parent 0bbfd9e commit 84a6ced
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/POSTGrammar.tg
Expand Up @@ -90,8 +90,8 @@ PIRCODE
start.'add_param'('args', 'optional'=>1)
$P0 = find_caller_lex '$?FILES'
if null $P0 goto L6
$S0 = $P0
start.'push_pirop'('inline', $S0, 'inline'=>' .annotate "file", "%0"')
$S0 = start.'escape'($P0)
start.'push_pirop'('inline', $S0, 'inline'=>' .annotate "file", %0')
L6:
$S0 = post.'subid'()
start.'push_pirop'('inline', $S0, 'inline'=><<'PIRCODE')
Expand Down

0 comments on commit 84a6ced

Please sign in to comment.