I don't remember one, but can't promise that isn't a local memory fault.
I; don't; think; there's; such; a; setting;
At least I've not come across one ever...
Christian
--
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/CABCrx0UzYFOt7%2BTe8h%2BYZ5zXttbTp4QCvoKGnvT0V2msutA72A%40mail.gmail.com.
Hi Adam,
I don’t see a settings check in the checkSemiColonLineFeed() method:
lucee\source\java\core\src\lucee\transformer\cfml\script\AbstrCFMLScriptTransformer.java
private final boolean checkSemiColonLineFeed(ExprData data,boolean throwError, boolean checkNLBefore,boolean allowEmptyCurlyBracked) throws TemplateException {
comments(data);
if(!data.srcCode.forwardIfCurrent(';')){
// curly brackets?
if(allowEmptyCurlyBracked) {
int pos = data.srcCode.getPos();
if(data.srcCode.forwardIfCurrent('{')) {
comments(data);
if(data.srcCode.forwardIfCurrent('}')) return true;
data.srcCode.setPos(pos);
}
}
if((!checkNLBefore || !data.srcCode.hasNLBefore()) && !isFinish(data) && !data.srcCode.isCurrent('}')){
if(!throwError) return false;
throw new TemplateException(data.srcCode,"Missing [;] or [line feed] after expression");
}
}
return true;
}
-Harry
--
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/8ea5a0c4-ffa1-476f-b21d-271aceae7853%40googlegroups.com.
https://issues.jboss.org/browse/RAILO-1510Maybe there was discussion on this at some point to make writing code compatible with ACF a little easier ...
--
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/0baa816b-a321-4fbf-92e4-3585cea0d278%40googlegroups.com.
G'day:I could have sworn I saw a setting in Railo (and, by association, Lucee) to the effect of "require semi-colons". Am I imagining things?
nope, never was ...