Rename result_type to ptype, parser result to pvalue
This commit is contained in:
1 parent
bca0a14371
commit
8dc27686aa
5 files changed
+34
-34
No files matched your search
@@ -263,7 +263,7 @@ EOF
|
||||
|
||||
it "parses lists" do
|
||||
write_grammar <<EOF
|
||||
result_type uint;
|
||||
ptype uint;
|
||||
token a;
|
||||
Start -> As <<
|
||||
$$ = $1;
|
||||
@@ -320,7 +320,7 @@ EOF
|
||||
|
||||
it "allows storing a result value for the lexer" do
|
||||
write_grammar <<EOF
|
||||
result_type ulong;
|
||||
ptype ulong;
|
||||
token word /[a-z]+/ <<
|
||||
$$ = match.length;
|
||||
>>
|
||||
|
||||
Reference in new issue
Block a user