Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
wacc_examples
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tudor Nazarie
wacc_examples
Commits
ed72f9e2
Verified
Commit
ed72f9e2
authored
5 years ago
by
Tudor Nazarie
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'upstream/master'
parents
1619f758
2eb1c502
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
refEmulate
+1
-1
1 addition, 1 deletion
refEmulate
valid/IO/print/multipleStringsAssignment.wacc
+4
-4
4 additions, 4 deletions
valid/IO/print/multipleStringsAssignment.wacc
valid/expressions/stringEqualsExpr.wacc
+1
-1
1 addition, 1 deletion
valid/expressions/stringEqualsExpr.wacc
with
6 additions
and
6 deletions
refEmulate
+
1
−
1
View file @
ed72f9e2
...
...
@@ -85,7 +85,7 @@ files.each do |file_path|
puts
"-- Emulation Output:"
puts
json
[
'emulator_out'
]
puts
"---------------------------------------------------------------"
puts
"The exit code is:
#{
exit_code
}
."
puts
"The exit code is:
#{
json
[
'emulator_exit'
]
}
."
puts
""
end
end
...
...
This diff is collapsed.
Click to expand it.
valid/IO/print/multipleStringsAssignment.wacc
+
4
−
4
View file @
ed72f9e2
...
...
@@ -2,18 +2,18 @@
# Output:
# s1 is Hi
# s2 is H
i
# s2 is H
ello
# They are not the same string.
# Now make s1 = s2
# s1 is H
i
# s2 is H
i
# s1 is H
ello
# s2 is H
ello
# They are the same string.
# Program:
begin
string s1 = "Hi" ;
string s2 = "H
i
" ;
string s2 = "H
ello
" ;
print "s1 is " ;
println s1 ;
print "s2 is " ;
...
...
This diff is collapsed.
Click to expand it.
valid/expressions/stringEqualsExpr.wacc
+
1
−
1
View file @
ed72f9e2
...
...
@@ -10,7 +10,7 @@
begin
string s1 = "Hello" ;
string s2 = "foo" ;
string s3 = "
foo
" ;
string s3 = "
bar
" ;
bool b = s1 == s1 ;
println b ;
println s1 == s2 ;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment