com.sonar.sslr.api.RecognitionException: Parse error at line 4 column 10: 2: puts ( "1,\"x\",int" ); 3: puts ( "\"x\"" ); --> puts ( ; 5: 6: EOF

GitHub | Bertk | 3 months ago
  1. 0

    C++11 preprocessor syntax not supported

    GitHub | 3 months ago | Bertk
    com.sonar.sslr.api.RecognitionException: Parse error at line 4 column 10: 2: puts ( "1,\"x\",int" ); 3: puts ( "\"x\"" ); --> puts ( ; 5: 6: EOF
  2. 0

    GitHub comment 838#213902448

    GitHub | 7 months ago | Bertk
    com.sonar.sslr.api.RecognitionException: Parse error at line 3 column 9: --> int main() { 4: printf ( "hello, world\n" , ); 5: }EOF
  3. 0

    GitHub comment 838#213907775

    GitHub | 7 months ago | jmecosta
    com.sonar.sslr.api.RecognitionException: Parse error at line 3 column 9: --> int main() { 4: printf ( "hello, world\n" , ); 5: }EOF
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 838#213908500

    GitHub | 7 months ago | guwirth
    com.sonar.sslr.api.RecognitionException: Parse error at line 3 column 9: --> int main() { 4: printf ( "hello, world\n" , ); 5: }EOF
  6. 0

    CxxSquidSensor Parse error

    GitHub | 2 years ago | radhanandan
    com.sonar.sslr.api.RecognitionException: Parse error at line 1086 column 37 failed to match all of: simpleTemplateId simpleTemplateId simpleTemplateId simpleTemplateId simpleTemplateId alignmentSpecifier parametersAndQualifiers noptrDeclarator ptrDeclarator simpleTemplateId simpleTemplateId simpleTemplateId simpleTemplateId simpleTemplateId alignmentSpecifier parametersAndQualifiers noptrDeclarator declarator functionDefinition simpl 1070: self); 1071: 1072: 1073: 1074: 1075: 1076: 1077: 1078: 1079: 1080: 1081: static GQuark quark_shader_data = 0; 1082: static GQuark quark_actor_layout_info = 0; 1083: static GQuark quark_actor_transform_info = 0; 1084: static GQuark quark_actor_animation_info = 0; 1085: --> G_DEFINE_TYPE_WITH_CODE (ClutterActor, 1087: clutter_actor, 1088: G_TYPE_INITIALLY_UNOWNED, 1089: G_IMPLEMENT_INTERFACE (CLUTTER_TYPE_CONTAINER, 1090: clutter_container_iface_init) 1091: G_IMPLEMENT_INTERFACE (CLUTTER_TYPE_SCRIPTABLE, 1092: clutter_scriptable_iface_init) 1093: G_IMPLEMENT_INTERFACE (CLUTTER_TYPE_ANIMATABLE, 1094: clutter_animatable_iface_init) 1095: G_IMPLEMENT_INTERFACE (ATK_TYPE_IMPLEMENTOR, 1096: atk_implementor_iface_init)) Failed at rules: /-simpleTemplateId consumed from (1086, 25) to (1086, 37): ClutterActor | /-simpleTemplateId consumed from (1086, 25) to (1086, 37): ClutterActor +-className /-typeName /-nestedNameSpecifier /-ptrOperator | /-simpleTemplateId consumed from (1086, 25) to (1086, 37): ClutterActor | | /-simpleTemplateId consumed from (1086, 25) to (1086, 37): ClutterActor | +-className | /-typeName | /-nestedNameSpecifier | | /-simpleTemplateId consumed from (1086, 25) to (1086, 37): ClutterActor | +-className | /-declaratorId +-noptrDeclarator | /-alignmentSpecifier | /-attributeSpecifier | /-attributeSpecifierSeq | +-parametersAndQualifiers +-noptrDeclarator consumed from (1086, 25) to (1086, 37): ClutterActor /-ptrDeclarator /-noptrDeclarator consumed from (1086, 24) to (1086, 25): ( +-noptrDeclarator consumed from (1086, 24) to (1086, 37): ( ClutterActor /-ptrDeclarator +-ptrDeclarator consumed from (1086, 24) to (1086, 37): ( ClutterActor | /-simpleTemplateId consumed from (1086, 25) to (1086, 37): ClutterActor | | /-simpleTemplateId consumed from (1086, 25) to (1086, 37): ClutterActor | +-className | /-typeName | /-nestedNameSpecifier | /-ptrOperator | | /-simpleTemplateId consumed from (1086, 25) to (1086, 37): ClutterActor | | | /-simpleTemplateId consumed from (1086, 25) to (1086, 37): ClutterActor | | +-className | | /-typeName | | /-nestedNameSpecifier | | | /-simpleTemplateId consumed from (1086, 25) to (1086, 37): ClutterActor | | +-className | | /-declaratorId | +-noptrDeclarator | | /-alignmentSpecifier | | /-attributeSpecifier | | /-attributeSpecifierSeq | | +-parametersAndQualifiers | +-noptrDeclarator consumed from (1086, 25) to (1086, 37): ClutterActor | /-ptrDeclarator +-noptrDeclarator consumed from (1086, 24) to (1086, 25): ( +-noptrDeclarator consumed from (1086, 24) to (1086, 37): ( ClutterActor /-declarator +-declarator consumed from (1086, 24) to (1086, 37): ( ClutterActor /-functionDefinition consumed from (1086, 0) to (1086, 23): G_DEFINE_TYPE_WITH_CODE +-functionDefinition consumed from (1086, 0) to (1086, 37): G_DEFINE_TYPE_WITH_CODE ( ClutterActor | /-simpleTemplateId consumed from (1086, 25) to (1086, 37): ClutterActor | | /-simpleTemplateId consumed from (1086, 25) to (1086, 37): ClutterActor | +-className | /-typeName | /-nestedNameSpecifier | /-ptrOperator | | /-simpleTemplateId consumed from (1086, 25) to (1086, 37): ClutterActor | | | /-simpleTemplateId consumed from (1086, 25) to (1086, 37): ClutterActor | | +-className | | /-typeName | | /-nestedNameSpecifier | | | /-simpleTemplateId consumed from (1086, 25) to (1086, 37): ClutterActor | | +-className | | /-declaratorId | +-noptrDeclarator | | /-alignmentSpecifier | | /-attributeSpecifier | | /-attributeSpecifierSeq | | +-parametersAndQualifiers | +-noptrDeclarator consumed from (1086, 25) to (1086, 37): ClutterActor | /-ptrDeclarator | /-noptrDeclarator consumed from (1086, 24) to (1086, 25): ( | +-noptrDeclarator consumed from (1086, 24) to (1086, 37): ( ClutterActor | /-ptrDeclarator | +-ptrDeclarator consumed from (1086, 24) to (1086, 37): ( ClutterActor | | /-simpleTemplateId consumed from (1086, 25) to (1086, 37): ClutterActor | | | /-simpleTemplateId consumed from (1086, 25) to (1086, 37): ClutterActor | | +-className | | /-typeName | | /-nestedNameSpecifier | | /-ptrOperator | | | /-simpleTemplateId consumed from (1086, 25) to (1086, 37): ClutterActor | | | | /-simpleTemplateId consumed from (1086, 25) to (1086, 37): ClutterActor | | | +-className | | | /-typeName | | | /-nestedNameSpecifier | | | | /-simpleTemplateId consumed from (1086, 25) to (1086, 37): ClutterActor | | | +-className | | | /-declaratorId | | +-noptrDeclarator | | | /-alignmentSpecifier | | | /-attributeSpecifier | | | /-attributeSpecifierSeq | | | +-parametersAndQualifiers | | +-noptrDeclarator consumed from (1086, 25) to (1086, 37): ClutterActor | | /-ptrDeclarator | +-noptrDeclarator consumed from (1086, 24) to (1086, 25): ( | +-noptrDeclarator consumed from (1086, 24) to (1086, 37): ( ClutterActor | /-declarator | +-declarator consumed from (1086, 24) to (1086, 37): ( ClutterActor | /-initDeclarator | +-initDeclarator consumed from (1086, 24) to (1086, 37): ( ClutterActor | /-initDeclaratorList | +-initDeclaratorList consumed from (1086, 24) to (1086, 37): ( ClutterActor | /-simpleDeclaration consumed from (1086, 0) to (1086, 23): G_DEFINE_TYPE_WITH_CODE +-blockDeclaration /-declaration translationUnit consumed from (638, 0) to (1084, 45): ... quark_actor_transform_info = 0 ; static GQuark quark_actor_animation_info = 0 ;

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.sonar.sslr.api.RecognitionException

      Parse error at line 4 column 10: 2: puts ( "1,\"x\",int" ); 3: puts ( "\"x\"" ); --> puts ( ; 5: 6: EOF

      at org.sonar.sslr.internal.vm.Machine.parse()
    2. SonarSource :: Language Recognizer :: Core
      Parser.parse
      1. org.sonar.sslr.internal.vm.Machine.parse(Machine.java:74)
      2. com.sonar.sslr.impl.Parser.parse(Parser.java:87)
      3. com.sonar.sslr.impl.Parser.parse(Parser.java:81)
      3 frames
    3. org.sonar.sslr
      ToolkitViewImpl$5.actionPerformed
      1. org.sonar.sslr.internal.toolkit.SourceCodeModel.setSourceCode(SourceCodeModel.java:62)
      2. org.sonar.sslr.internal.toolkit.ToolkitPresenter.onSourceCodeParseButtonClick(ToolkitPresenter.java:124)
      3. org.sonar.sslr.internal.toolkit.ToolkitViewImpl$5.actionPerformed(ToolkitViewImpl.java:203)
      3 frames
    4. Java RT
      EventDispatchThread.run
      1. javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
      2. javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
      3. javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
      4. javax.swing.DefaultButtonModel.setPressed(Unknown Source)
      5. javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
      6. java.awt.Component.processMouseEvent(Unknown Source)
      7. javax.swing.JComponent.processMouseEvent(Unknown Source)
      8. java.awt.Component.processEvent(Unknown Source)
      9. java.awt.Container.processEvent(Unknown Source)
      10. java.awt.Component.dispatchEventImpl(Unknown Source)
      11. java.awt.Container.dispatchEventImpl(Unknown Source)
      12. java.awt.Component.dispatchEvent(Unknown Source)
      13. java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
      14. java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
      15. java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
      16. java.awt.Container.dispatchEventImpl(Unknown Source)
      17. java.awt.Window.dispatchEventImpl(Unknown Source)
      18. java.awt.Component.dispatchEvent(Unknown Source)
      19. java.awt.EventQueue.dispatchEventImpl(Unknown Source)
      20. java.awt.EventQueue.access$500(Unknown Source)
      21. java.awt.EventQueue$3.run(Unknown Source)
      22. java.awt.EventQueue$3.run(Unknown Source)
      23. java.security.AccessController.doPrivileged(Native Method)
      24. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
      25. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
      26. java.awt.EventQueue$4.run(Unknown Source)
      27. java.awt.EventQueue$4.run(Unknown Source)
      28. java.security.AccessController.doPrivileged(Native Method)
      29. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
      30. java.awt.EventQueue.dispatchEvent(Unknown Source)
      31. java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      32. java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      33. java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      34. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      35. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      36. java.awt.EventDispatchThread.run(Unknown Source)
      36 frames