-HttpClient: ’Content-Length’ is added to httprequest if not provided in the headers and a body exists
-expressions in GDScript can take multiple lines if inside parenthesis (python-like) -Added \ to force linebreaks to GDscript (python-like) -added exclude objects from raycast -fixed crashes
This commit is contained in:
@ -242,6 +242,24 @@ void GDTokenizerText::_advance() {
|
||||
case 0:
|
||||
_make_token(TK_EOF);
|
||||
break;
|
||||
case '\\':
|
||||
INCPOS(1);
|
||||
if (GETCHAR(0)=='\r') {
|
||||
INCPOS(1);
|
||||
}
|
||||
|
||||
if (GETCHAR(0)!='\n') {
|
||||
_make_error("Expected newline after '\\'.");
|
||||
return;
|
||||
}
|
||||
|
||||
INCPOS(1);
|
||||
|
||||
while(GETCHAR(0)==' ' || GETCHAR(0)=='\t') {
|
||||
INCPOS(1);
|
||||
}
|
||||
|
||||
continue;
|
||||
case '\t':
|
||||
case '\r':
|
||||
case ' ':
|
||||
|
||||
Reference in New Issue
Block a user