forked from Botanical/BotanJS
Added :{number} support
This commit is contained in:
@@ -79,6 +79,9 @@
|
||||
case "registers":
|
||||
out[ CMD_TYPE ] = "REGISTERS";
|
||||
break;
|
||||
case "marks":
|
||||
out[ CMD_TYPE ] = "MARKS";
|
||||
break;
|
||||
case "ver":
|
||||
case "version":
|
||||
out[ CMD_TYPE ] = "VERSION";
|
||||
@@ -90,6 +93,13 @@
|
||||
case "varec":
|
||||
out[ CMD_TYPE ] = "VA_REC";
|
||||
break;
|
||||
|
||||
case "": // Range jumping
|
||||
pattern.push( true );
|
||||
case "p":
|
||||
allowRange = true;
|
||||
out[ CMD_TYPE ] = "PRINT";
|
||||
break;
|
||||
}
|
||||
|
||||
if( range !== "" )
|
||||
|
||||
Reference in New Issue
Block a user