Comments (2)
I have pushed a fix for this; it's sitting in my pull request queue.
It was a copy-and-paste bug in the typeChecker.
There was another bug in the parser which assigned the wrong precedence to the ++, higher than +, which didn't fit with the DBPrint precedence.
from p4c.
Amazing, that was fast :)
Concatenation is useful in porting the switch.p4
parser to P4-16.
from p4c.
Related Issues (20)
- Cannot use hvec_map for cstring keys HOT 3
- [P4Testgen] Validate options as early as possible
- [P4Testgen] The actions' coverage works weirdly if action is called from multiple tables HOT 4
- Port XDP tests from archived p4c-xdp repository
- Show a warning when a `@hidden` annotation is used on something where it is meaningless
- Clarify expected behavior of `--W*=diagnostic` option when `diagnostic` can be an error HOT 11
- Bug in p4c with some kinds of if statements inside of action bodies HOT 3
- `P4TEST_REPLACE` does not replace expected contents of `p4tc` test outputs HOT 4
- If and return/exit statements causing uninitialized_use warnings
- hvec_map::insert has a non-standard behavior HOT 2
- P4C arm64/aarch64 support HOT 14
- Update the hash functions used in `hash.cpp` and `cstring.cpp` HOT 4
- [P4Testgen] Better error handling in the test backends. HOT 2
- Define an informal variable naming style in the `.clang-tidy` file.
- Replace Util::Enumerator with a C++-native enumerator in resolveReferences HOT 2
- Replace BDWGC with shared pointers. HOT 5
- Reduce Visitor overhead HOT 14
- Make the control plane optional
- The `test_helper.cpp` library should throw no exceptions.
- Compiler BUG in def_use.h with multiple use of enum const HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from p4c.