Skip to content

Conversation

@Explorer09
Copy link
Contributor

No description provided.

No sense to keep these two function when libc's strtoul() can do the
same job, but better.
* Don't call isascii() here. It's deprecated in POSIX and not needed
  for myesc's case.
* The check of the character class and range here should match what's
  defined as {ESCSEQ} in scan.l, so for [[:xdigit:]] we use isxdigit();
  for [0-7] we check '0' <= c <= '7' (not isdigit(c) because isdigit is
  locale-dependant in standard's sense)
* Add missing length limit for "\x<hex>" (<hex> is at most 2 digits)
@westes
Copy link
Owner

westes commented May 2, 2017

Thanks. THis is on master and will be included in the next release.

@westes westes closed this May 2, 2017
@Explorer09 Explorer09 deleted the myesc branch June 6, 2017 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants