Skip to content

Commit

Permalink
Remaster.
Browse files Browse the repository at this point in the history
  • Loading branch information
kaby76 committed Sep 14, 2024
1 parent d279ccd commit eb68e1e
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 2 deletions.
13 changes: 13 additions & 0 deletions _tests/xgrep/Gold/output
Original file line number Diff line number Diff line change
@@ -1 +1,14 @@
( INT
( text:'1' tt:0 chnl:DEFAULT_TOKEN_CHANNEL
) )

( INT
( text:'2' tt:0 chnl:DEFAULT_TOKEN_CHANNEL
) )

( INT
( text:'3' tt:0 chnl:DEFAULT_TOKEN_CHANNEL
) )



13 changes: 13 additions & 0 deletions _tests/xgrep/output
Original file line number Diff line number Diff line change
@@ -1 +1,14 @@
( INT
( text:'1' tt:0 chnl:DEFAULT_TOKEN_CHANNEL
) )

( INT
( text:'2' tt:0 chnl:DEFAULT_TOKEN_CHANNEL
) )

( INT
( text:'3' tt:0 chnl:DEFAULT_TOKEN_CHANNEL
) )



4 changes: 2 additions & 2 deletions _tests/xgrep/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ rm -rf Generated-CSharp
trgen -t CSharp
cd Generated-CSharp
make
echo "1 + 2 + 3" | trparse | trquery grep ' //SCIENTIFIC_NUMBER' | trtree > ../output
echo "1 + 2 + 3" | trparse | trquery grep ' //INT' | trtree > ../output
cd ..
rm -rf Generated-CSharp
#rm -rf Generated-CSharp

# Diff result.
for i in output Gold/output
Expand Down

0 comments on commit eb68e1e

Please sign in to comment.