wesnolte/Pajinate — Issue #18: YUI Compressor thinks "goto" is a reserved word
Author: rocky76
Created: 2011-12-21 18:36:01+00:00
State: open

I couldn't get YUI Compressor to compress my modified version of your Pajinate plugin, it kept spitting out "identifier is a reserved word" errors. Finally tracked it down to "goto" is a reserved word in Java, which YUI Compressor is written in. So obscure, but I ended up changing every goto() to gotoNum().

http://www.refresh-sf.com/yui/
http://developer.yahoo.com/yui/compressor/#work
http://docs.oracle.com/javase/tutorial/java/nutsandbolts/_keywords.html