meta: output commands when running files

This commit is contained in:
Ryan Chandler 2022-07-21 21:17:25 +01:00
parent 58504a95f4
commit bd21dc2132
No known key found for this signature in database
GPG Key ID: F113BCADDB3B0CCA
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
#!/usr/bin/env bash
set -xe
dir=$(realpath $1)
for file in $(find $dir -name "*.php")

View File

@ -429,7 +429,7 @@ impl Lexer {
self.col += 1;
TokenKind::RightBracket
},
_ => unimplemented!("<scripting> char: {}", char),
_ => unimplemented!("<scripting> char: {}, line: {}, col: {}", char, self.line, self.col),
};
Ok(Token {