mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 15:44:36 +00:00
multiline eval support
This commit is contained in:
parent
8140ed9b64
commit
1c43959c07
4 changed files with 107 additions and 111 deletions
|
|
@ -116,7 +116,8 @@ HEXDIGIT [a-fA-F0-9]
|
|||
("///"([^/\n\r][^\n\r]*)?[\n\r]+)+ { return(Sc_ScanDocBlock()); }
|
||||
"//"[^\n\r]* ;
|
||||
[\r] ;
|
||||
\n.* { yycolumn = 1;
|
||||
\n.* {
|
||||
yycolumn = 1;
|
||||
lines.push_back(String::ToString("%s", yytext+1));
|
||||
if (lines.size() > Con::getIntVariable("$scriptErrorLineCount", 10))
|
||||
lines.erase(lines.begin());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue