wps

PostScript for the Web
git clone https://logand.com/git/wps.git/
Log | Files | Refs | LICENSE

commit 043a6ca0c603a8a6028cbe692375c6a6f08d5b66
parent 3a66ca9f5db4e72803e23a49a0fc062c50bff079
Author: tomas <tomas@logand.com>
Date:   Sat, 23 Jan 2010 15:15:15 +0100

changes from 2009-09-10

Diffstat:
Mwps.js | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/wps.js b/wps.js @@ -103,11 +103,11 @@ function PsParser() { // TODO 1e10 1E-5 real numbers // TODO radix numbers 8#1777 16#FFFE 2#1000 var C = xchar(); - if(member(C, "()<>/% \t\n")) throw "Symbol expected, got " + C; + if(member(C, "()<>% \t\n")) throw "Symbol expected, got " + C; var N = member(C, "+-0123456789."); var F = "." == C; var L = [C]; - while(peek() && !member(peek(), "()<>[]{}/% \t\n")) { + while(peek() && !member(peek(), "()<>[]{}% \t\n")) { C = xchar(); L.push(C); if(N && !member(C, "0123456789")) {