| 134 | function delim(s){return symbol(s,0);} |
| 135 | function stmt(s,f){var x=delim(s);x.identifier=x.reserved=true;x.fud=f;return x;} |
| 136 | function blockstmt(s,f){var x=stmt(s,f);x.block=true;return x;} |
| 137 | function reserveName(x){var c=x.id.charAt(0);if((c>='a'&&c<='z')||(c>='A'&&c<='Z')){x.identifier=x.reserved=true;} |
| 138 | return x;} |
| 139 | function prefix(s,f){var x=symbol(s,150);reserveName(x);x.nud=(typeof f==='function')?f:function(){if(option.plusplus&&(this.id==='++'||this.id==='--')){warning("Unexpected use of '{a}'.",this,this.id);} |