Permalink
Browse files

Instead of skipping space just skip blanks. This allows for newlines …

…as for character in macro args.
  • Loading branch information...
1 parent 3ab6ab4 commit b7bd0a02aa95453611e900fc2fc3de665457f2e0 @jcd committed Jan 20, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/macro.c
View
@@ -118,8 +118,8 @@ unsigned extractArgN(unsigned char *p, unsigned end, unsigned char **pmarg, unsi
Largstart:
#if 1
- // Skip first space, if any, to find the start of the macro argument
- if (v < end && isspace(p[v]))
+ // Skip first blank, if any, to find the start of the macro argument
+ if (v < end && isblank(p[v]))
v++;
#else
// Skip past spaces to find the start of the macro argument

0 comments on commit b7bd0a0

Please sign in to comment.