import{t as e}from"./simple-mode-DRpGK0lJ.js";var t=/(%[0-9]|%~\S+|%\S+%)/,n=e({start:[{regex:/(rem|::)(?:\s.*|$)/i,token:`comment`,sol:!0},{regex:/(@echo|echo)/i,token:`builtin`,sol:!0,next:`echo`},{regex:/(?:\s|^)(assoc|aux|break|call|cd|chcp|chdir|choice|cls|cmdextversion|color|com1|com2|com3|com4|com|con|copy|country|ctty|date|defined|del|dir|do|dpath|else|endlocal|erase|errorlevel|exist|exit|for|ftype|goto|if|in|loadfix|loadhigh|lpt|lpt1|lpt2|lpt3|lpt4|md|mkdir|move|not|nul|path|pause|popd|prn|prompt|pushd|rd|rename|ren|rmdir|setlocal|set|shift|start|time|title|type|verify|ver|vol)(?:\s|$)/i,token:`builtin`},{regex:t,token:`variable-2`},{regex:/\s*:.*/,token:`string`,sol:!0}],echo:[{regex:t,token:`variable-2`},{regex:/.$/,next:`start`}]});export{n as batch};