change //line comments to fix debug information
This commit is contained in:
parent
7ad2a2c24f
commit
e27faddfa5
3
Makefile
3
Makefile
@ -25,6 +25,9 @@ bench:
|
||||
compile: ./php5/php5.go ./php7/php7.go ./scanner/scanner.go fmt
|
||||
sed -i '' -e 's/yyErrorVerbose = false/yyErrorVerbose = true/g' ./php7/php7.go
|
||||
sed -i '' -e 's/yyErrorVerbose = false/yyErrorVerbose = true/g' ./php5/php5.go
|
||||
sed -i '' -e 's/\/\/line/\/\/ line/g' ./php5/php5.go
|
||||
sed -i '' -e 's/\/\/line/\/\/ line/g' ./php7/php7.go
|
||||
sed -i '' -e 's/\/\/line/\/\/ line/g' ./scanner/scanner.go
|
||||
rm -f y.output
|
||||
|
||||
./scanner/scanner.go: ./scanner/scanner.rl
|
||||
|
1052
php5/php5.go
1052
php5/php5.go
File diff suppressed because it is too large
Load Diff
1000
php7/php7.go
1000
php7/php7.go
File diff suppressed because it is too large
Load Diff
1198
scanner/scanner.go
1198
scanner/scanner.go
File diff suppressed because it is too large
Load Diff
@ -516,6 +516,7 @@ func TestConstantStrings(t *testing.T) {
|
||||
T_CONSTANT_ENCAPSED_STRING.String(),
|
||||
T_CONSTANT_ENCAPSED_STRING.String(),
|
||||
T_CONSTANT_ENCAPSED_STRING.String(),
|
||||
T_CONSTANT_ENCAPSED_STRING.String(),
|
||||
}
|
||||
|
||||
lexer := NewLexer([]byte(src))
|
||||
|
Loading…
Reference in New Issue
Block a user