Skip to content

Commit

Permalink
Merge pull request kevinlawler#138 from isawdrones/master
Browse files Browse the repository at this point in the history
Fix backslash commands with a leading space.
  • Loading branch information
kevinlawler committed Jul 28, 2011
2 parents c906a4c + 611fdca commit b820cdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p.c
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ K wd_(S s, I n, K*dict, K func) //parse: s input string, n length ; assumes: s d
{
if(!s) R 0;

I i=0;while(i<n && isspace(s[i]))i++;if('\\'==s[i])R backslash(s,n); //isspace lets \n through... odd but probably fine
I i=0;while(i<n && isspace(s[i]))i++;if('\\'==s[i])R backslash(s+i,n); //isspace lets \n through... odd but probably fine

PDA p=0;
K km=newK(-1,1+n); U(km) I *m = kI(km);//marks
Expand Down

0 comments on commit b820cdd

Please sign in to comment.