mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-17 19:25:20 -04:00
Just a little note
This commit is contained in:
parent
d38e08f102
commit
cf51cd2591
@ -260,7 +260,6 @@ public class LexState {
|
||||
|
||||
void lexerror( String msg, int token ) {
|
||||
String cid = Lua.chunkid( source.tojstring() );
|
||||
// Is the string pushing needed?
|
||||
L.pushfstring( cid+":"+linenumber+": "+msg );
|
||||
if ( token != 0 )
|
||||
L.pushfstring( "syntax error: "+msg+" near "+txtToken(token) );
|
||||
|
@ -298,6 +298,9 @@ public class LuaC extends Lua implements Globals.Compiler, Globals.Loader {
|
||||
return s;
|
||||
}
|
||||
|
||||
/**
|
||||
* This function is useless. It doesn't push to a stack nor format strings.
|
||||
*/
|
||||
public String pushfstring(String string) {
|
||||
return string;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user