Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
xcap
xcap-capability-linux
Commits
7897cfcf
Commit
7897cfcf
authored
Jun 16, 2014
by
Sarah Spall
Committed by
Vikram Narayanan
Oct 25, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed error in arguments rule
parent
bb26f965
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
9 deletions
+5
-9
tools/lcd/idl/flounder
tools/lcd/idl/flounder
+5
-9
No files found.
tools/lcd/idl/flounder
View file @
7897cfcf
...
...
@@ -40,21 +40,17 @@ Message = MESSAGE i:Identifier OPEN a:Arguments CLOSE SEMI Spacing {{ st
cast_a(args, a);
value = new Message((char*)i.getValue(), args); }}
Arguments = a:ArgStart* {{ std::vector<Argument*> * args = new std::vector<Argument*>;
cast_a(args, a);
value = args; }}
| a:ArgStart* a2:ArgLast {{ std::vector<Argument*> * args = new std::vector<Argument*>;
Arguments = a:ArgStart* a2:ArgLast {{ std::vector<Argument*> * args = new std::vector<Argument*>;
cast_a(args, a);
Argument * as = (Argument *) a2.getValue();
args->push_back(as);
value = args; }}
ArgStart = s:SimpleArg COMMA {{ value = s; }}
| d:DynamicArg COMMA {{ value = d; }}
ArgStart = s:SimpleArg COMMA
Spacing
{{ value = s; }}
| d:DynamicArg COMMA
Spacing
{{ value = d; }}
ArgLast = s:SimpleArg {{ value = s; }}
| d:DynamicArg {{ value = d; }}
ArgLast = s:SimpleArg
Spacing
{{ value = s; }}
| d:DynamicArg
Spacing
{{ value = d; }}
SimpleArg = t:Identifier i:Identifier {{ value = new Argument((Type*) t.getValue(), (char *) i.getValue()); }}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment